mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Add til api test first commit
This commit is contained in:
@@ -112,8 +112,8 @@ func TestGetBids(t *testing.T) {
|
||||
|
||||
// Mixed filters
|
||||
fetchedBids = []testBid{}
|
||||
bidderAddress = tc.bids[9].Bidder
|
||||
slotNum = tc.bids[4].SlotNum
|
||||
bidderAddress = tc.bids[1].Bidder
|
||||
slotNum = tc.bids[5].SlotNum
|
||||
path = fmt.Sprintf("%s?bidderAddr=%s&slotNum=%d&limit=%d&fromItem=", endpoint, bidderAddress.String(), slotNum, limit)
|
||||
err = doGoodReqPaginated(path, historydb.OrderAsc, &testBidsResponse{}, appendIter)
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user