diff options
Diffstat (limited to 'src/testing/test_merchant_order_creation.sh')
-rwxr-xr-x | src/testing/test_merchant_order_creation.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh index 3ab07406..582394b4 100755 --- a/src/testing/test_merchant_order_creation.sh +++ b/src/testing/test_merchant_order_creation.sh @@ -560,4 +560,19 @@ fi echo " OK" + +echo -n "Getting information about kyc ..." + +STATUS=$(curl -H "Content-Type: application/json" -X GET \ + http://localhost:9966/instances/default/private/kyc \ + -w "%{http_code}" -s -o /dev/null) + +if [ "$STATUS" != "204" ] +then + echo 'should respond ok, instance created. got:' $STATUS + exit 1 +fi + +echo " OK" + exit 0 |