diff --git a/Makefile b/Makefile index b4fbf32ae1..ee767dc6c7 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,7 @@ test_cli: tests/cli/shunit2 ./tests/cli/roles.sh ./tests/cli/counter.sh ./tests/cli/restart.sh + ./tests/cli/rest.sh ./tests/cli/ibc.sh test_tutorial: docs/guide/shunit2 diff --git a/tests/cli/rest.sh b/tests/cli/rest.sh index 1ed86e7988..06ae7fc769 100755 --- a/tests/cli/rest.sh +++ b/tests/cli/rest.sh @@ -39,7 +39,7 @@ restAccount() { assertNotNull "line=${LINENO}, address required" "$1" ACCT=$(curl ${URL}/query/account/sigs:$1 2>/dev/null) if [ -n "$DEBUG" ]; then echo $ACCT; echo; fi - assertEquals "line=${LINENO}, proper money" "$2" $(echo $ACCT | jq .coins[0].amount) + assertEquals "line=${LINENO}, proper money" "$2" $(echo $ACCT | jq .data.coins[0].amount) return $? }