summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-otp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-otp.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-otp.ts7
1 files changed, 4 insertions, 3 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, {