diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-01 19:07:14 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-01 19:07:14 +0530 |
commit | bb369f2e2ab7838751ce9aae2e23622be1391586 (patch) | |
tree | 3fca0a5d7047b1f38ec230657e0c8f0c0cc891e0 /packages/taler-integrationtests/src/test-pay-paid.ts | |
parent | 8c33e05bf08976403719a17b1faf424109a7eaa5 (diff) | |
download | wallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.tar.xz |
auto-format
Diffstat (limited to 'packages/taler-integrationtests/src/test-pay-paid.ts')
-rw-r--r-- | packages/taler-integrationtests/src/test-pay-paid.ts | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/taler-integrationtests/src/test-pay-paid.ts b/packages/taler-integrationtests/src/test-pay-paid.ts index eb58fce30..61e8ce80f 100644 --- a/packages/taler-integrationtests/src/test-pay-paid.ts +++ b/packages/taler-integrationtests/src/test-pay-paid.ts @@ -18,7 +18,11 @@ * Imports. */ import { runTest, GlobalTestState, MerchantPrivateApi } from "./harness"; -import { createSimpleTestkudosEnvironment, withdrawViaBank, createFaultInjectedMerchantTestkudosEnvironment } from "./helpers"; +import { + createSimpleTestkudosEnvironment, + withdrawViaBank, + createFaultInjectedMerchantTestkudosEnvironment, +} from "./helpers"; import { PreparePayResultType, codecForMerchantOrderStatusUnpaid, @@ -48,7 +52,7 @@ runTest(async (t: GlobalTestState) => { /** * ========================================================================= * Create an order and let the wallet pay under a session ID - * + * * We check along the way that the JSON response to /orders/{order_id} * returns the right thing. * ========================================================================= @@ -64,7 +68,6 @@ runTest(async (t: GlobalTestState) => { }, }); - let orderStatus = await MerchantPrivateApi.queryPrivateOrderStatus(merchant, { orderId: orderResp.order_id, sessionId: "mysession-one", @@ -159,7 +162,7 @@ runTest(async (t: GlobalTestState) => { } else if (url.pathname.endsWith("/paid")) { numPaidRequested++; } - } + }, }); // Pay with new taler://pay URI, which should @@ -175,5 +178,4 @@ runTest(async (t: GlobalTestState) => { // Make sure the wallet is actually doing the replay properly. t.assertTrue(numPaidRequested == 1); t.assertTrue(numPayRequested == 0); - }); |