basic working test for verified providers

master
michael 2022-09-14 00:05:39 +00:00
parent 62b51c88b0
commit 78945f2bc0
1 changed files with 11 additions and 2 deletions

View File

@ -7,6 +7,15 @@
HERE=$(cd $(dirname $BASH_SOURCE) && pwd) HERE=$(cd $(dirname $BASH_SOURCE) && pwd)
source $HERE/testutil.sh 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"