mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Fix errors when fromItem is not provided
This commit is contained in:
@@ -53,7 +53,7 @@ func TestGetCoordinators(t *testing.T) {
|
||||
|
||||
// All
|
||||
limit := 5
|
||||
path := fmt.Sprintf("%s?limit=%d&fromItem=", endpoint, limit)
|
||||
path := fmt.Sprintf("%s?limit=%d", endpoint, limit)
|
||||
err := doGoodReqPaginated(path, historydb.OrderAsc, &testCoordinatorsResponse{}, appendIter)
|
||||
assert.NoError(t, err)
|
||||
assertCoordinators(t, tc.coordinators, fetchedCoordinators)
|
||||
|
||||
Reference in New Issue
Block a user