fix: use new bid duration params for same-bidder tests (#1163)

This commit is contained in:
Kevin Davis 2022-02-08 09:33:42 -08:00 committed by GitHub
parent e526fd1639
commit c76b5f98b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ func TestAuctionBidding(t *testing.T) {
[]bidArgs{{buyer, c("token2", 900)}},
bidArgs{buyer, c("token2", 1000)}, // buyer only has enough to cover the increase from previous bid
nil,
someTime.Add(types.DefaultBidDuration),
someTime.Add(types.DefaultForwardBidDuration),
buyer,
c("token2", 1000),
true,
@ -433,7 +433,7 @@ func TestAuctionBidding(t *testing.T) {
[]bidArgs{{buyer, c("token2", 1000)}},
bidArgs{buyer, c("token1", 100)}, // buyer has already bid all of their token2
nil,
someTime.Add(types.DefaultBidDuration),
someTime.Add(types.DefaultReverseBidDuration),
buyer,
c("token2", 1000),
true,