Skip to content

Commit

Permalink
refactor: use streaming bool instead of count int
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed May 12, 2023
1 parent 4d66c31 commit e336241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing/http/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func TestClient_FindProviders(t *testing.T) {

findProvsIter := iter.FromSlice(c.routerProvs)

router.On("FindProviders", mock.Anything, cid, mock.Anything).
router.On("FindProviders", mock.Anything, cid, c.expStreamingResponse).
Return(findProvsIter, c.routerErr)

provsIter, err := client.FindProviders(ctx, cid)
Expand Down

0 comments on commit e336241

Please sign in to comment.