diff options
Diffstat (limited to 'packages/taler-integrationtests/src/test-payment-multiple.ts')
-rw-r--r-- | packages/taler-integrationtests/src/test-payment-multiple.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-integrationtests/src/test-payment-multiple.ts b/packages/taler-integrationtests/src/test-payment-multiple.ts index 00b3c0b69..8be8a90f5 100644 --- a/packages/taler-integrationtests/src/test-payment-multiple.ts +++ b/packages/taler-integrationtests/src/test-payment-multiple.ts @@ -27,6 +27,7 @@ import { WalletCli, coin_ct10, coin_u1, + MerchantPrivateApi, } from "./harness"; import { withdrawViaBank } from "./helpers"; @@ -122,7 +123,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:80", @@ -130,7 +131,7 @@ runTest(async (t: GlobalTestState) => { }, }); - let orderStatus = await merchant.queryPrivateOrderStatus({ + let orderStatus = await MerchantPrivateApi.queryPrivateOrderStatus(merchant, { orderId: orderResp.order_id, }); @@ -151,7 +152,7 @@ runTest(async (t: GlobalTestState) => { // Check if payment was successful. - orderStatus = await merchant.queryPrivateOrderStatus({ + orderStatus = await MerchantPrivateApi.queryPrivateOrderStatus(merchant, { orderId: orderResp.order_id, }); |