diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-08 10:08:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-08 10:08:15 -0300 |
commit | b3ae213bc5987fbb6a2ce5c08d626f9f65508b03 (patch) | |
tree | 01b264fe249d92803d2f5224a621c15a5ff9b1fe /packages/taler-harness/src | |
parent | 2a4dbc67e8d1e6a256431e34f0b2e0e19d204f70 (diff) | |
download | wallet-core-b3ae213bc5987fbb6a2ce5c08d626f9f65508b03.tar.xz |
remove http resp from operation
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-otp.ts | 7 | ||||
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-payment-template.ts | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-otp.ts b/packages/taler-harness/src/integrationtests/test-otp.ts index 3636b1f47..d0aeba095 100644 --- a/packages/taler-harness/src/integrationtests/test-otp.ts +++ b/packages/taler-harness/src/integrationtests/test-otp.ts @@ -50,7 +50,7 @@ export async function runOtpTest(t: GlobalTestState) { otp_device_id: "mydevice", otp_key: randomRfc3548Base32Key(), }); - narrowOpSuccessOrThrow(createOtpRes); + narrowOpSuccessOrThrow("createOtpDevice", createOtpRes); const createTemplateRes = await merchantClient.createTemplate({ template_description: "my template", @@ -65,10 +65,11 @@ export async function runOtpTest(t: GlobalTestState) { ), }, }); - narrowOpSuccessOrThrow(createTemplateRes); + narrowOpSuccessOrThrow("createTemplate", createTemplateRes); const getTemplateResp = await merchantClient.getTemplate("tpl1"); - narrowOpSuccessOrThrow(getTemplateResp); + narrowOpSuccessOrThrow("getTemplate", getTemplateResp); + console.log(`template: ${j2s(getTemplateResp.body)}`); const wres = await withdrawViaBankV2(t, { diff --git a/packages/taler-harness/src/integrationtests/test-payment-template.ts b/packages/taler-harness/src/integrationtests/test-payment-template.ts index c9f1caacd..c3ab5ffc8 100644 --- a/packages/taler-harness/src/integrationtests/test-payment-template.ts +++ b/packages/taler-harness/src/integrationtests/test-payment-template.ts @@ -55,7 +55,7 @@ export async function runPaymentTemplateTest(t: GlobalTestState) { summary: "hello, I'm a summary", }, }); - narrowOpSuccessOrThrow(createTemplateRes); + narrowOpSuccessOrThrow("createTemplate", createTemplateRes); // Withdraw digital cash into the wallet. |