diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-12 18:08:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-12 18:08:26 +0100 |
commit | 73d73d7e055d62e62c9c994249fd6fddb2ad34e2 (patch) | |
tree | 4d6ad904e0bac4253eed5eb6042e5b471eb6be12 /src/testing/test_merchant_order_creation.sh | |
parent | bb56da09cbdfcb039183a3fbbdf17e487a17bd53 (diff) | |
download | merchant-73d73d7e055d62e62c9c994249fd6fddb2ad34e2.tar.gz merchant-73d73d7e055d62e62c9c994249fd6fddb2ad34e2.tar.bz2 merchant-73d73d7e055d62e62c9c994249fd6fddb2ad34e2.zip |
-styile fixes
Diffstat (limited to 'src/testing/test_merchant_order_creation.sh')
-rwxr-xr-x | src/testing/test_merchant_order_creation.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh index ce8507eb..8e1fdbf7 100755 --- a/src/testing/test_merchant_order_creation.sh +++ b/src/testing/test_merchant_order_creation.sh @@ -96,7 +96,7 @@ then exit 1 fi -echo OK +echo "OK" echo -n "Checking created order without TOKEN..." @@ -110,7 +110,7 @@ then echo 'should have a payuri. got:' $PAY_URI `cat $LAST_RESPONSE` exit 1 fi -echo OK +echo "OK" # # CREATE AN ORDER WITHOUT TOKEN WITH FULLFILMENT URL @@ -133,6 +133,7 @@ TOKEN=`jq -r .token < $LAST_RESPONSE` if [ "$TOKEN" != "null" ] then echo 'token should be null, got:' $TOKEN + exit 1 fi STATUS=$(curl http://localhost:9966/orders/$ORDER_ID \ @@ -152,7 +153,7 @@ then echo 'should have a payuri. got:' $PAY_URI `cat $LAST_RESPONSE` exit 1 fi -echo OK +echo "OK" # # CREATE ORDER WITH NON-INVENTORY AND CHECK |