Skip to content

Commit

Permalink
make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
cubny committed Feb 22, 2025
1 parent 62ecea8 commit ea0354a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infra/http/api/feed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func TestRouter_fetchFeedNewItems(t *testing.T) {
Target: "/feeds/1/fetch",
ExpectedStatus: http.StatusInternalServerError,
ExpectedBody: `{"error":{"code":500,"details":"Internal error - cannot fetch feed items"}}`,
MockFn: func(i *mocks.ItemService, f *mocks.FeedService, _ *mocks.AuthService) {
MockFn: func(_ *mocks.ItemService, f *mocks.FeedService, _ *mocks.AuthService) {
f.EXPECT().FetchItems(1).Return(nil, assert.AnError)
},
},
Expand Down

0 comments on commit ea0354a

Please sign in to comment.