commit 53cd347b1c75496e4f6feee7792cc81c2aeda961 parent f6d81037a723ec7f89165811153544c5ec18e2ec Author: Florian Dold <florian.dold@gmail.com> Date: Tue, 18 Aug 2020 13:12:19 +0530 extra check Diffstat:
| M | packages/taler-integrationtests/src/test-paywall-flow.ts | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/packages/taler-integrationtests/src/test-paywall-flow.ts b/packages/taler-integrationtests/src/test-paywall-flow.ts @@ -201,6 +201,15 @@ runTest(async (t: GlobalTestState) => { t.assertTrue(orderStatus.order_status === "paid"); + // Check that with a completely new session ID, the status would NOT + // be paid. + orderStatus = await merchant.queryPrivateOrderStatus({ + orderId: firstOrderId, + sessionId: "mysession-four", + }); + + t.assertTrue(orderStatus.order_status === "unpaid"); + // Now check if the public status of the new order is correct. console.log("requesting public status", publicOrderStatusUrl);