commit e04ba8974b1b7a1690ffacb52ba2fb3588f49a6d parent d6aeaba40b59d30cd2963766b0d6a337d9249fc0 Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 9 Sep 2024 23:23:19 +0200 204 changed to 200 Diffstat:
| M | src/testing/test_merchant_kyc.sh | | | 4 | ++-- |
| M | src/testing/test_merchant_order_creation.sh | | | 4 | ++-- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/testing/test_merchant_kyc.sh b/src/testing/test_merchant_kyc.sh @@ -126,9 +126,9 @@ STATUS=$(curl -H "Content-Type: application/json" -X GET \ http://localhost:9966/private/kyc \ -w "%{http_code}" -s -o /dev/null) -if [ "$STATUS" != "204" ] +if [ "$STATUS" != "200" ] then - exit_fail "Expected 204. got: $STATUS" + exit_fail "Expected 200. got: $STATUS" fi echo " OK" diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh @@ -685,9 +685,9 @@ echo -n "Getting information about kyc ..." STATUS=$(curl -H "Content-Type: application/json" -X GET \ http://localhost:9966/private/kyc \ -w "%{http_code}" -s -o /dev/null) -if [ "$STATUS" != "204" ] +if [ "$STATUS" != "200" ] then - exit_fail "Expected 204. Got: $STATUS" + exit_fail "Expected 200. Got: $STATUS" fi echo " OK"