commit 96890501bf5645281da201792f4e5acff2f5d292
parent ebfc8ed1420a5fcf8d56efae33de429f6310e522
Author: MS <ms@taler.net>
Date: Wed, 20 Sep 2023 14:25:03 +0200
fix test
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/bank/src/test/kotlin/DatabaseTest.kt b/bank/src/test/kotlin/DatabaseTest.kt
@@ -220,10 +220,7 @@ class DatabaseTest {
))
val opSelected = db.talerWithdrawalGet(uuid)
assert(opSelected?.selectionDone == true && !opSelected.confirmationDone)
- println(
- db.talerWithdrawalConfirm(uuid, 1L) // ==
- // WithdrawalConfirmationResult.SUCCESS
- )
+ assert(db.talerWithdrawalConfirm(uuid, 1L) == WithdrawalConfirmationResult.SUCCESS)
// Finally confirming the operation (means customer wired funds to the exchange.)
assert(db.talerWithdrawalGet(uuid)?.confirmationDone == true)
}