commit e265e0890568d95e7bb0f168bb21e52fef3447c7
parent 4c6d63fa6a5bf86306b04335533e122fb58f1479
Author: Florian Dold <florian@dold.me>
Date: Tue, 27 Jan 2026 13:53:53 +0100
fix missing FORM_ID in sanctions test
Diffstat:
1 file changed, 1 insertion(+), 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 '{"FULL_NAME":"Bob","DATE_OF_BIRTH":"5.7.1980"}' \
+ -d '{"FORM_ID": "test", "FULL_NAME":"Bob","DATE_OF_BIRTH":"5.7.1980"}' \
-w "%{http_code}" -s -o "$LAST_RESPONSE")
echo $STATUS