diff options
Diffstat (limited to 'packages/taler-harness')
-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. |