commit d3dcb110d998d37a6532f0c22f960104f6528459
parent 7527e51a34e8d9fbde721353c4503a9f9a964f17
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 2 Aug 2026 15:49:04 +0200
fix test-sanctions.sh
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/testing/test-sanctions.sh b/src/testing/test-sanctions.sh
@@ -77,7 +77,7 @@ ID=$(jq -r .requirements[0].id < "$LAST_RESPONSE")
echo -n "Submitting KYC form..." >&2
STATUS=$(curl -H "Content-Type: application/json" -X POST \
"http://localhost:8081/kyc-upload/$ID" \
- -d '{"FORM_ID": "test", "FULL_NAME":"Bob","DATE_OF_BIRTH":"5.7.1980"}' \
+ -d '{"FORM_ID": "full_name_and_birthdate", "FULL_NAME":"Bob","DATE_OF_BIRTH":"5.7.1980"}' \
-w "%{http_code}" -s -o "$LAST_RESPONSE")
echo $STATUS
diff --git a/src/testing/test_sanctions.conf b/src/testing/test_sanctions.conf
@@ -16,6 +16,7 @@ HTTP_PORT = 8082
[exchange]
CURRENCY = EUR
CURRENCY_ROUND_UNIT = EUR:0.01
+TINY_AMOUNT = EUR:0.01
PORT = 8081
MASTER_PUBLIC_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG
BASE_URL = "http://localhost:8081/"