API add bids endpoint

This commit is contained in:
laisolizq
2020-10-27 18:27:05 +01:00
parent 90db8a1106
commit aa6cb6f818
11 changed files with 388 additions and 14 deletions

View File

@@ -159,7 +159,7 @@ func TestBids(t *testing.T) {
err = historyDB.AddBids(bids)
assert.NoError(t, err)
// Fetch bids
fetchedBids, err := historyDB.GetBids()
fetchedBids, err := historyDB.GetAllBids()
assert.NoError(t, err)
// Compare fetched bids vs generated bids
for i, bid := range fetchedBids {