From 0bd921bf5579ba73e561150318a3399dbb93db96 Mon Sep 17 00:00:00 2001 From: Vladimir Grichina Date: Tue, 5 Nov 2019 14:30:14 -0800 Subject: [PATCH] Revert "fix test" This reverts commit 82d61d5634ad01e5b50288eed03045c2ff8619db. --- test/test_account_operations.sh | 4 ++-- test/test_contract.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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