diff --git a/test/test_account_operations.sh b/test/test_account_operations.sh index ea43c068..1929734c 100755 --- a/test/test_account_operations.sh +++ b/test/test_account_operations.sh @@ -1,7 +1,7 @@ #!/bin/bash set -ex rm -rf tmp-project -yarn create near-app --plain tmp-project +./bin/near new_project 'tmp-project' cd tmp-project timestamp=$(date +%s) testaccount=testaccount$timestamp @@ -9,7 +9,7 @@ echo Create account ../bin/near create_account $testaccount echo Get account state -RESULT=$(../bin/near view $testaccount | strip-ansi) +RESULT=$(../bin/near state $testaccount | strip-ansi) echo $RESULT EXPECTED=".+Account $testaccount.+amount:.+'1000000000000000000'.+ " if [[ ! "$RESULT" =~ $EXPECTED ]]; then diff --git a/test/test_contract.sh b/test/test_contract.sh index b8000f95..2e12ab43 100755 --- a/test/test_contract.sh +++ b/test/test_contract.sh @@ -1,7 +1,7 @@ #!/bin/bash set -ex rm -rf tmp-project -yarn create near-app --plain tmp-project +./bin/near new_project 'tmp-project' cd tmp-project rm -rf assembly mkdir assembly