summaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_reserve_creation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_merchant_reserve_creation.sh')
-rwxr-xr-xsrc/testing/test_merchant_reserve_creation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/test_merchant_reserve_creation.sh b/src/testing/test_merchant_reserve_creation.sh
index c910ba9c..8fafb551 100755
--- a/src/testing/test_merchant_reserve_creation.sh
+++ b/src/testing/test_merchant_reserve_creation.sh
@@ -220,9 +220,9 @@ STATUS=$(curl 'http://localhost:9966/instances/default/private/reserves' \
-d '{"initial_balance":"INVALID:2","exchange_url":"http://localhost:8081/","wire_method":"iban"}' \
-w "%{http_code}" -s -o "$LAST_RESPONSE")
-if [ "$STATUS" != "400" ]
+if [ "$STATUS" != "409" ]
then
- exit_fail "Expected 400, bad currency. got: $STATUS"
+ exit_fail "Expected 409, bad currency. got: $STATUS"
fi
echo "FAILED (which is expected)"