Skip to content

Commit

Permalink
fix: Adjust failing unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Goodell <[email protected]>
  • Loading branch information
Leonard Goodell committed Jan 17, 2024
1 parent e6c8086 commit 11d2ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/runtime/storeforward_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ func TestStoreForLaterRetry(t *testing.T) {

func TestTriggerRetry(t *testing.T) {
mockLogger := &loggerMocks.LoggingClient{}
mockLogger.On("Infof", "%s metric has been registered and will be reported (if enabled)", "StoreForwardQueueSize")

dic.Update(di.ServiceConstructorMap{
bootstrapContainer.LoggingClientInterfaceName: func(get di.Get) interface{} {
return mockLogger
Expand Down

0 comments on commit 11d2ee9

Please sign in to comment.