diff --git a/tests/test_auction_flow_verified.sh b/tests/test_auction_flow_verified.sh index f07c269..c10941f 100755 --- a/tests/test_auction_flow_verified.sh +++ b/tests/test_auction_flow_verified.sh @@ -7,6 +7,15 @@ HERE=$(cd $(dirname $BASH_SOURCE) && pwd) source $HERE/testutil.sh -get_last_auction_index +colineard tx colinearcore new-auction asdf asdf 200 uusdc $(now + 3700) \ + $ALICE \ + -y --from bob \ + | expect_success "New auction is created" -get_block_time +colineard tx colinearcore new-bid $(get_last_auction_index) 100 \ + -y --from bob \ + | expect_fail "Unverified provider account can't bid" + +colineard tx colinearcore new-bid $(get_last_auction_index) 100 \ + -y --from alice \ + | expect_success "Verified provider account can bid"