[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Asserting on the aborted withdrawal's
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Asserting on the aborted withdrawal's selected state. |
Date: |
Mon, 25 Sep 2023 16:52:49 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 12fa142a Asserting on the aborted withdrawal's selected state.
12fa142a is described below
commit 12fa142a6b573e75c93d8e796b7e0ce4e6086344
Author: MS <ms@taler.net>
AuthorDate: Mon Sep 25 16:51:54 2023 +0200
Asserting on the aborted withdrawal's selected state.
---
bank/src/test/kotlin/TalerApiTest.kt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bank/src/test/kotlin/TalerApiTest.kt
b/bank/src/test/kotlin/TalerApiTest.kt
index 59ee978a..61071327 100644
--- a/bank/src/test/kotlin/TalerApiTest.kt
+++ b/bank/src/test/kotlin/TalerApiTest.kt
@@ -258,6 +258,7 @@ class TalerApiTest {
))
val op = db.talerWithdrawalGet(uuid)
assert(op?.aborted == false)
+ assert(db.talerWithdrawalSetDetails(uuid, "exchange-payto",
"reserve_pub"))
testApplication {
application {
corebankWebApp(db, ctx)
@@ -268,7 +269,7 @@ class TalerApiTest {
}
}
val opAbo = db.talerWithdrawalGet(uuid)
- assert(opAbo?.aborted == true)
+ assert(opAbo?.aborted == true && opAbo.selectionDone == true)
}
// Testing withdrawal creation
@Test
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Asserting on the aborted withdrawal's selected state.,
gnunet <=