gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: h_contract is also welcome in


From: gnunet
Subject: [taler-wallet-core] branch master updated: h_contract is also welcome in the order status url
Date: Fri, 25 Sep 2020 16:56:51 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 13c32b03 h_contract is also welcome in the order status url
13c32b03 is described below

commit 13c32b0314fc082770f6c0822677976c29371450
Author: MS <ms@taler.net>
AuthorDate: Fri Sep 25 16:56:11 2020 +0200

    h_contract is also welcome in the order status url
---
 packages/taler-integrationtests/src/test-claim-loop.ts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/packages/taler-integrationtests/src/test-claim-loop.ts 
b/packages/taler-integrationtests/src/test-claim-loop.ts
index fdc87ba0..22a04b7d 100644
--- a/packages/taler-integrationtests/src/test-claim-loop.ts
+++ b/packages/taler-integrationtests/src/test-claim-loop.ts
@@ -72,8 +72,13 @@ runTest(async (t: GlobalTestState) => {
 
   let tokenBefore = statusUrlBefore.searchParams.get("token")
   let tokenAfter = statusUrlAfter.searchParams.get("token")
+  let hashContractAfter = statusUrlAfter.searchParams.get("h_contract")
 
-  t.assertTrue(tokenBefore === tokenAfter)
+  // after claiming the contract, we either want its hash in the
+  // status url, or at least see again its token in the status url.
+  t.assertTrue(
+    (hashContractAfter !== null) || (tokenBefore === tokenAfter)
+  )
 
   await t.shutdown();
 });

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]