[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Testing registration bonus.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Testing registration bonus. |
Date: |
Fri, 22 Sep 2023 14:22:15 +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 94c18037 Testing registration bonus.
94c18037 is described below
commit 94c18037115a2ef8de5674616c0f242bab2a1388
Author: MS <ms@taler.net>
AuthorDate: Fri Sep 22 14:21:41 2023 +0200
Testing registration bonus.
---
bank/src/test/kotlin/LibeuFinApiTest.kt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bank/src/test/kotlin/LibeuFinApiTest.kt
b/bank/src/test/kotlin/LibeuFinApiTest.kt
index 9aecc484..273b3055 100644
--- a/bank/src/test/kotlin/LibeuFinApiTest.kt
+++ b/bank/src/test/kotlin/LibeuFinApiTest.kt
@@ -276,7 +276,10 @@ class LibeuFinApiTest {
}""".trimIndent())
}
assert(resp.status == HttpStatusCode.Unauthorized)
- // admin tries, should succeed
+ // admin tries (also giving bonus), should succeed
+ db.configSet("admin_max_debt", "KUDOS:2222")
+ db.configSet("registration_bonus", "KUDOS:32")
+ assert(maybeCreateAdminAccount(db)) // customer exists, this makes
only the bank account.
resp = client.post("/accounts") {
expectSuccess = false
basicAuth("admin", "pass")
--
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: Testing registration bonus.,
gnunet <=