summaryrefslogtreecommitdiff
path: root/packages/taler-integrationtests/src/test-pay-paid.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-integrationtests/src/test-pay-paid.ts')
-rw-r--r--packages/taler-integrationtests/src/test-pay-paid.ts12
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);
-
});