gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: bring integration tests to pass


From: gnunet
Subject: [libeufin] branch master updated: bring integration tests to pass
Date: Mon, 18 Jan 2021 16:22:34 +0100

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 e943ef7  bring integration tests to pass
e943ef7 is described below

commit e943ef765147028b88564ff1b5c1c7883843cf97
Author: MS <ms@taler.net>
AuthorDate: Mon Jan 18 16:22:31 2021 +0100

    bring integration tests to pass
---
 integration-tests/tests.py                                      | 2 --
 nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/integration-tests/tests.py b/integration-tests/tests.py
index 626f729..e063c34 100755
--- a/integration-tests/tests.py
+++ b/integration-tests/tests.py
@@ -303,13 +303,11 @@ def make_taler_facade():
             json=dict(
                 name=PERSONA.nexus.taler_facade_name,
                 type="taler-wire-gateway",
-                creator=PERSONA.nexus.username,
                 config=dict(
                     currency="EUR",
                     bankAccount=PERSONA.nexus.bank_label,
                     bankConnection=PERSONA.nexus.bank_connection,
                     reserveTransferLevel="UNUSED",
-                    intervalIncremental="UNUSED"
                 )
             ),
             auth=PERSONA.nexus.auth
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
index 58e0472..6f03ab0 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -694,9 +694,9 @@ fun serverMain(dbName: String, host: String, port: Int) {
                 val bankAccountId = expectNonNull(call.parameters["accountid"])
                 val start = call.request.queryParameters["start"]
                 val end = call.request.queryParameters["end"]
-                authenticateRequest(call.request)
                 val ret = Transactions()
                 transaction {
+                    authenticateRequest(call.request)
                     val bankAccount = 
NexusBankAccountEntity.findById(bankAccountId)
                     if (bankAccount == null) {
                         throw NexusError(HttpStatusCode.NotFound, "unknown 
bank account")

-- 
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]