mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 00:04:26 -08:00
basic working test for verified providers
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user