diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-13 00:26:55 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-13 00:26:55 +0530 |
commit | e9ed3b18672af919efa12364b97fd2b7efe21cd9 (patch) | |
tree | 42cd7e7bdf4686f463080e0ad879d06ff624a85b /packages/taler-integrationtests/src/test-payment-multiple.ts | |
parent | 4891c4c7ceec46781fa2d7b7b5a3347616587681 (diff) | |
download | wallet-core-e9ed3b18672af919efa12364b97fd2b7efe21cd9.tar.xz |
integration test for paywall flow
Diffstat (limited to 'packages/taler-integrationtests/src/test-payment-multiple.ts')
-rw-r--r-- | packages/taler-integrationtests/src/test-payment-multiple.ts | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/packages/taler-integrationtests/src/test-payment-multiple.ts b/packages/taler-integrationtests/src/test-payment-multiple.ts index 80092a9a3..00b3c0b69 100644 --- a/packages/taler-integrationtests/src/test-payment-multiple.ts +++ b/packages/taler-integrationtests/src/test-payment-multiple.ts @@ -130,10 +130,9 @@ runTest(async (t: GlobalTestState) => { }, }); - let orderStatus = await merchant.queryPrivateOrderStatus( - "default", - orderResp.order_id, - ); + let orderStatus = await merchant.queryPrivateOrderStatus({ + orderId: orderResp.order_id, + }); t.assertTrue(orderStatus.order_status === "unpaid"); @@ -152,10 +151,9 @@ runTest(async (t: GlobalTestState) => { // Check if payment was successful. - orderStatus = await merchant.queryPrivateOrderStatus( - "default", - orderResp.order_id, - ); + orderStatus = await merchant.queryPrivateOrderStatus({ + orderId: orderResp.order_id, + }); t.assertTrue(orderStatus.order_status === "paid"); |