From 78945f2bc04ecd2d2d8fdfc6876e9ee5be2029be Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Wed, 14 Sep 2022 00:05:39 +0000 Subject: [PATCH] basic working test for verified providers --- tests/test_auction_flow_verified.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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"