commit 0bdd8292778575416be8183affd0c658057e4148
parent 20c89397fa0e72a8e3a00c5575ace4f8ebebdf4e
Author: Florian Dold <florian@dold.me>
Date: Fri, 17 Jul 2026 18:29:30 +0200
harness: adapt test to new exchange behavior
Diffstat:
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/packages/taler-harness/src/integrationtests/test-kyc-fail-recover-simple.ts b/packages/taler-harness/src/integrationtests/test-kyc-fail-recover-simple.ts
@@ -31,6 +31,7 @@ import {
j2s,
KycRequirementInformationId,
Logger,
+ succeedOrThrow,
TalerKycAml,
TalerSignaturePurpose,
WalletKycRequest,
@@ -188,15 +189,13 @@ export async function runKycFailRecoverSimpleTest(t: GlobalTestState) {
}
{
- t.logStep("complete form expecting to fail");
- const infoResp = await exchangeApi.uploadKycForm(latestFormId, {
- FORM_ID: "firstform",
- NAME: specialFailName,
- FORM_VERSION: 1,
- } as ExchangeKycUploadFormRequest);
-
- t.assertDeepEqual(infoResp.type, "fail");
- t.assertDeepEqual(infoResp.case, HttpStatusCode.InternalServerError);
+ succeedOrThrow(
+ await exchangeApi.uploadKycForm(latestFormId, {
+ FORM_ID: "firstform",
+ NAME: specialFailName,
+ FORM_VERSION: 1,
+ } as ExchangeKycUploadFormRequest),
+ );
}
{