[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: extra check
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: extra check |
Date: |
Tue, 18 Aug 2020 09:42:26 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 53cd347b extra check
53cd347b is described below
commit 53cd347b1c75496e4f6feee7792cc81c2aeda961
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Aug 18 13:12:19 2020 +0530
extra check
---
packages/taler-integrationtests/src/test-paywall-flow.ts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/packages/taler-integrationtests/src/test-paywall-flow.ts
b/packages/taler-integrationtests/src/test-paywall-flow.ts
index 5214acc4..74be96c8 100644
--- 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);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: extra check,
gnunet <=