diff options
-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 |