diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-21 18:10:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-21 18:10:37 +0100 |
commit | aadd06b4eeadc76805a4d30b8dee31cf6bfccd9f (patch) | |
tree | 098581d8c3bac7917c35e7d3b98b4d3c4e310e08 | |
parent | 5f3116d324f4b475365b9a8729a69851419229c3 (diff) | |
download | merchant-aadd06b4eeadc76805a4d30b8dee31cf6bfccd9f.tar.gz merchant-aadd06b4eeadc76805a4d30b8dee31cf6bfccd9f.tar.bz2 merchant-aadd06b4eeadc76805a4d30b8dee31cf6bfccd9f.zip |
-polishing
-rwxr-xr-x | src/testing/test_merchant_product_creation.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/test_merchant_product_creation.sh b/src/testing/test_merchant_product_creation.sh index fa769e47..702b0e53 100755 --- a/src/testing/test_merchant_product_creation.sh +++ b/src/testing/test_merchant_product_creation.sh @@ -29,7 +29,7 @@ STATUS=$(curl -H "Content-Type: application/json" -X POST \ if [ "$STATUS" != "204" ] then - echo 'should respond ok, instance created. got:' $STATUS + echo "Should have responded 204 No content, instance created. Got $STATUS instead" exit 1 fi echo OK @@ -164,7 +164,7 @@ STATUS=$(curl 'http://localhost:9966/instances/default/private/orders' \ if [ "$STATUS" != "200" ] then - echo 'should respond ok, lock should apply. got:' $STATUS `cat $LAST_RESPONSE` + echo 'Should respond 200 OK, lock should apply. Got:' $STATUS `cat $LAST_RESPONSE` exit 1 fi |