summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-kyc.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-04-24 13:13:20 -0300
committerSebastian <sebasjm@gmail.com>2023-04-24 13:13:20 -0300
commitb3cdd3409e172843d43cace16592230478096338 (patch)
treed9b6a507f311ef54a0e76282f2fc03960d2e7146 /packages/taler-harness/src/integrationtests/test-kyc.ts
parent4889ae9c9b0d8ae31cc04478c18f2191bf668e26 (diff)
downloadwallet-core-b3cdd3409e172843d43cace16592230478096338.tar.gz
wallet-core-b3cdd3409e172843d43cace16592230478096338.tar.bz2
wallet-core-b3cdd3409e172843d43cace16592230478096338.zip
improved log, added allow-http flag and prevent thrott
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-kyc.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-kyc.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-kyc.ts b/packages/taler-harness/src/integrationtests/test-kyc.ts
index b7ea0ff77..b86c8dd5b 100644
--- a/packages/taler-harness/src/integrationtests/test-kyc.ts
+++ b/packages/taler-harness/src/integrationtests/test-kyc.ts
@@ -340,7 +340,10 @@ export async function runKycTest(t: GlobalTestState) {
// We now simulate the user interacting with the KYC service,
// which would usually done in the browser.
- const httpLib = createPlatformHttpLib();
+ const httpLib = createPlatformHttpLib({
+ allowHttp: true,
+ enableThrottling: false,
+ });
const kycServerResp = await httpLib.get(kycNotif.kycUrl);
const kycLoginResp = await kycServerResp.json();
console.log("kyc server resp:", j2s(kycLoginResp));