diff options
Diffstat (limited to 'packages/taler-integrationtests/src/scenario-prompt-payment.ts')
-rw-r--r-- | packages/taler-integrationtests/src/scenario-prompt-payment.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-integrationtests/src/scenario-prompt-payment.ts b/packages/taler-integrationtests/src/scenario-prompt-payment.ts index 3e4bfc6c2..3c34075d1 100644 --- a/packages/taler-integrationtests/src/scenario-prompt-payment.ts +++ b/packages/taler-integrationtests/src/scenario-prompt-payment.ts @@ -17,7 +17,7 @@ /** * Imports. */ -import { runTest, GlobalTestState } from "./harness"; +import { runTest, GlobalTestState, MerchantPrivateApi } from "./harness"; import { createSimpleTestkudosEnvironment, withdrawViaBank } from "./helpers"; /** @@ -39,7 +39,7 @@ runTest(async (t: GlobalTestState) => { // Set up order. - const orderResp = await merchant.createOrder("default", { + const orderResp = await MerchantPrivateApi.createOrder(merchant, "default", { order: { summary: "Buy me!", amount: "TESTKUDOS:5", @@ -47,7 +47,7 @@ runTest(async (t: GlobalTestState) => { }, }); - let orderStatus = await merchant.queryPrivateOrderStatus({ + let orderStatus = await MerchantPrivateApi.queryPrivateOrderStatus(merchant, { orderId: orderResp.order_id, }); |