diff options
Diffstat (limited to 'tests/plugins/logger/logger_test.go')
-rw-r--r-- | tests/plugins/logger/logger_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/logger/logger_test.go b/tests/plugins/logger/logger_test.go index ec4a748d..174ee743 100644 --- a/tests/plugins/logger/logger_test.go +++ b/tests/plugins/logger/logger_test.go @@ -92,7 +92,7 @@ func TestLoggerRawErr(t *testing.T) { controller := gomock.NewController(t) mockLogger := mocks.NewMockLogger(controller) - mockLogger.EXPECT().Debug("worker destructed", "pid", gomock.Any()).MinTimes(1) + mockLogger.EXPECT().Debug("worker destructed", "pid", gomock.Any()).AnyTimes() mockLogger.EXPECT().Info("{\"field\": \"value\"}").MinTimes(1) mockLogger.EXPECT().Debug("worker constructed", "pid", gomock.Any()).MinTimes(1) |