From d61b3db85b0f97949509e8cdecb87619e2992f7c Mon Sep 17 00:00:00 2001 From: Jeff Hodges Date: Mon, 13 Jan 2025 11:16:19 -0800 Subject: [PATCH] change imports in tests --- signer/signer_test.go | 2 +- tools/autograph-monitor/contentsignaturepki_test.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/signer/signer_test.go b/signer/signer_test.go index fe4449465..c7a259121 100644 --- a/signer/signer_test.go +++ b/signer/signer_test.go @@ -13,10 +13,10 @@ import ( "fmt" "testing" - "github.com/golang/mock/gomock" "github.com/miekg/pkcs11" "github.com/mozilla-services/autograph/crypto11" "github.com/mozilla-services/autograph/internal/mockpkcs11" + "go.uber.org/mock/gomock" ) func TestParseRSAPrivateKey(t *testing.T) { diff --git a/tools/autograph-monitor/contentsignaturepki_test.go b/tools/autograph-monitor/contentsignaturepki_test.go index 18fe3452b..3812ab8ac 100644 --- a/tools/autograph-monitor/contentsignaturepki_test.go +++ b/tools/autograph-monitor/contentsignaturepki_test.go @@ -20,9 +20,8 @@ import ( "time" "github.com/mozilla-services/autograph/formats" - - gomock "github.com/golang/mock/gomock" "github.com/mozilla-services/autograph/tools/autograph-monitor/mock_main" + "go.uber.org/mock/gomock" ) // helper funcs -----------------------------------------------------------------