[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: harness: make kyc test work a
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: harness: make kyc test work again |
Date: |
Wed, 15 Nov 2023 10:21:25 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 8a0de68aa harness: make kyc test work again
8a0de68aa is described below
commit 8a0de68aaeb406425d4f339e91f8179a9563e2d6
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Nov 15 10:21:19 2023 +0100
harness: make kyc test work again
---
packages/taler-harness/src/integrationtests/test-kyc.ts | 11 +++++++++--
1 file 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);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: harness: make kyc test work again,
gnunet <=