diff --git a/go.mod b/go.mod index 32fea23fd8..1b2d859d77 100644 --- a/go.mod +++ b/go.mod @@ -347,7 +347,7 @@ require ( github.com/stretchr/testify v1.9.0 github.com/tikv/client-go/v2 v2.0.8-0.20231115083414-7c96dfd783fb github.com/vektah/gqlparser/v2 v2.5.19 - go.uber.org/mock v0.4.0 + go.uber.org/mock v0.5.0 go.uber.org/ratelimit v0.3.1 gocloud.dev v0.40.0 gocloud.dev/pubsub/kafkapubsub v0.40.0 diff --git a/go.sum b/go.sum index b4295fac27..032535b5df 100644 --- a/go.sum +++ b/go.sum @@ -904,8 +904,8 @@ go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0 go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= -go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= -go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= +go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU= +go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= diff --git a/internal/testing/mocks/backend.go b/internal/testing/mocks/backend.go index 7a3389249d..399154f18a 100644 --- a/internal/testing/mocks/backend.go +++ b/internal/testing/mocks/backend.go @@ -21,6 +21,7 @@ import ( type MockBackend struct { ctrl *gomock.Controller recorder *MockBackendMockRecorder + isgomock struct{} } // MockBackendMockRecorder is the mock recorder for MockBackend. @@ -1634,6 +1635,7 @@ func (mr *MockBackendMockRecorder) VulnerabilityMetadataList(ctx, vulnerabilityM type MockBackendArgs struct { ctrl *gomock.Controller recorder *MockBackendArgsMockRecorder + isgomock struct{} } // MockBackendArgsMockRecorder is the mock recorder for MockBackendArgs. diff --git a/internal/testing/mocks/documentparser.go b/internal/testing/mocks/documentparser.go index 168988e992..dffc4d9160 100644 --- a/internal/testing/mocks/documentparser.go +++ b/internal/testing/mocks/documentparser.go @@ -23,6 +23,7 @@ import ( type MockDocumentParser struct { ctrl *gomock.Controller recorder *MockDocumentParserMockRecorder + isgomock struct{} } // MockDocumentParserMockRecorder is the mock recorder for MockDocumentParser. diff --git a/internal/testing/mocks/scorecard.go b/internal/testing/mocks/scorecard.go index 07ae4e9277..fc9ea5b580 100644 --- a/internal/testing/mocks/scorecard.go +++ b/internal/testing/mocks/scorecard.go @@ -20,6 +20,7 @@ import ( type MockScorecard struct { ctrl *gomock.Controller recorder *MockScorecardMockRecorder + isgomock struct{} } // MockScorecardMockRecorder is the mock recorder for MockScorecard.