diff options
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-kyc.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-kyc.ts b/packages/taler-harness/src/integrationtests/test-kyc.ts index be6e704ee..a0196c81c 100644 --- a/packages/taler-harness/src/integrationtests/test-kyc.ts +++ b/packages/taler-harness/src/integrationtests/test-kyc.ts @@ -130,7 +130,11 @@ export async function createKycTestkudosEnvironment( "kyc_oauth2_info_url", "http://localhost:6666/oauth/v2/info", ); - config.setString(myprov, "kyc_oauth2_converter_helper", "/bin/cat"); + config.setString( + myprov, + "kyc_oauth2_converter_helper", + "taler-exchange-kyc-oauth2-test-converter.sh", + ); config.setString(myprov, "kyc_oauth2_client_id", "taler-exchange"); config.setString(myprov, "kyc_oauth2_client_secret", "exchange-secret"); config.setString(myprov, "kyc_oauth2_post_url", "https://taler.net"); @@ -395,7 +399,10 @@ export async function runKycTest(t: GlobalTestState) { const proofHttpResp = await httpLib.fetch(kycProofUrl); logger.info(`proof resp status ${proofHttpResp.status}`); logger.info(`resp headers ${j2s(proofHttpResp.headers.toJSON())}`); - if (!(proofHttpResp.status >= 200 && proofHttpResp.status <= 299)) { + if ( + !(proofHttpResp.status >= 200 && proofHttpResp.status <= 299) && + proofHttpResp.status !== 303 + ) { logger.error("kyc proof failed"); logger.info(await proofHttpResp.text()); t.assertTrue(false); |