Skip to content

Commit

Permalink
Added expected calls to GetLogger in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fimanishi committed Jan 22, 2025
1 parent d03c676 commit c16094f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/persistence/nosql/nosql_task_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func setupNoSQLStoreMocks(t *testing.T) (*nosqlTaskStore, *nosqlplugin.MockDB) {
TestTaskType).
Return(&nosqlSt, nil).
AnyTimes()
shardedNosqlStoreMock.EXPECT().GetLogger().Return(log.NewNoop()).AnyTimes()

store := &nosqlTaskStore{
shardedNosqlStore: shardedNosqlStoreMock,
Expand Down

0 comments on commit c16094f

Please sign in to comment.