Skip to content

Commit

Permalink
Unit test TestRequestBidsStoredBidResponses fix (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronikaSolovei9 authored Aug 1, 2022
1 parent f7d5b8f commit 9b37e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exchange/bidder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1527,9 +1527,9 @@ func TestRequestBidsStoredBidResponses(t *testing.T) {
assert.Len(t, seatBids, 1)

assert.Len(t, seatBids[0].bids, len(tc.expectedBidIds), "Incorrect bids number for test case ", tc.description)
for index, bid := range seatBids[0].bids {
assert.Equal(t, tc.expectedBidIds[index], bid.bid.ID, tc.description)
assert.Equal(t, tc.expectedImpIds[index], bid.bid.ImpID, tc.description)
for _, bid := range seatBids[0].bids {
assert.Contains(t, tc.expectedBidIds, bid.bid.ID, tc.description)
assert.Contains(t, tc.expectedImpIds, bid.bid.ImpID, tc.description)
}
}

Expand Down

0 comments on commit 9b37e13

Please sign in to comment.