summaryrefslogtreecommitdiff
path: root/tests/plugins/logger/logger_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-13 02:38:15 +0300
committerValery Piashchynski <[email protected]>2021-08-13 02:38:15 +0300
commit8cdac2daf2fc4a1a95ddebca585f4ec38beff210 (patch)
tree843b5e5f5dd9a1bca68a420e283642fc27fbb5c8 /tests/plugins/logger/logger_test.go
parentde378e7698db896b8fd16f628c7d89689c8371d0 (diff)
Update go.mod dependencies to the most recent version.
Fix tests according to the new mocks. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/logger/logger_test.go')
-rw-r--r--tests/plugins/logger/logger_test.go2
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)