commit 12fa142a6b573e75c93d8e796b7e0ce4e6086344
parent b56753b146c79b11a9f879b53b5f4403708b1c10
Author: MS <ms@taler.net>
Date: Mon, 25 Sep 2023 16:51:54 +0200
Asserting on the aborted withdrawal's selected state.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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