basic working test for verified providers
parent
62b51c88b0
commit
78945f2bc0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue