diff --git a/pkg/workceptor/workceptor_test.go b/pkg/workceptor/workceptor_test.go index b3fb02de9..79fc8d9c1 100644 --- a/pkg/workceptor/workceptor_test.go +++ b/pkg/workceptor/workceptor_test.go @@ -20,7 +20,7 @@ func testSetup(t *testing.T) (*gomock.Controller, *mock_workceptor.MockNetceptor ctx := context.Background() mockNetceptor := mock_workceptor.NewMockNetceptorForWorkceptor(ctrl) - mockNetceptor.EXPECT().NodeID().Return("test") + mockNetceptor.EXPECT().NodeID().Return("test").AnyTimes() logger := logger.NewReceptorLogger("") mockNetceptor.EXPECT().GetLogger().AnyTimes().Return(logger)