taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 8a4ed54af33ba424ef1c25a3a03b8d1047f423c1
parent 435f9925dcbe3578ff631b3b4f95c7ef57231d72
Author: Florian Dold <dold@taler.net>
Date:   Mon, 14 Sep 2026 01:42:38 +0200

taler-harness: check the Challenger completion redirect locally

Inspect the exchange response without following its external
completion URL.

Diffstat:
Mpackages/taler-harness/src/integrationtests/test-kyc-challenger.ts | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/packages/taler-harness/src/integrationtests/test-kyc-challenger.ts b/packages/taler-harness/src/integrationtests/test-kyc-challenger.ts @@ -353,7 +353,11 @@ export async function runKycChallengerTest(t: GlobalTestState) { const proofUrl = new URL(`kyc-proof/myprov`, exchange.baseUrl); proofUrl.searchParams.set("state", paytoHash); proofUrl.searchParams.set("code", "code_is_ok"); - const proofHttpResp = await harnessHttpLib.fetch(proofUrl.href); + // Check the exchange's completion redirect without visiting an external + // website, whose availability is unrelated to this local KYC flow. + const proofHttpResp = await harnessHttpLib.fetch(proofUrl.href, { + redirect: "manual", + }); logger.info(`proof resp status ${proofHttpResp.status}`); logger.info(`resp headers ${j2s(proofHttpResp.headers.toJSON())}`); if (