Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
roarc0 committed Jun 29, 2024
1 parent 7dc1228 commit f5c57e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/gofetch/gofetch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ func TestGoFetch(t *testing.T) {

mockCtlr := gomock.NewController(t)
mockMemory := mocks.NewMockMemory(gomock.NewController(t))
mockMemory.EXPECT().Has(gomock.Any()).Return(false).AnyTimes()
actionStr := DownloadAction.String()
mockMemory.EXPECT().Get(gomock.Any()).Return(&actionStr, nil).AnyTimes()
defer mockCtlr.Finish()

g, err := NewGoFetch(&cfg, mockMemory)
Expand Down

0 comments on commit f5c57e8

Please sign in to comment.