gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix DB statement


From: gnunet
Subject: [libeufin] branch master updated: fix DB statement
Date: Thu, 14 May 2020 19:23:08 +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 b31804f  fix DB statement
b31804f is described below

commit b31804f28e24b9a5399b52a75fc0e30645e588e6
Author: MS <address@hidden>
AuthorDate: Thu May 14 19:23:03 2020 +0200

    fix DB statement
---
 integration-tests/test-ebics-new.py               | 10 +++++++---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt |  2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/integration-tests/test-ebics-new.py 
b/integration-tests/test-ebics-new.py
index 106f64e..1d1d870 100755
--- a/integration-tests/test-ebics-new.py
+++ b/integration-tests/test-ebics-new.py
@@ -237,8 +237,12 @@ assertResponse(
 #2.c, fetch bank account information
 assertResponse(
     post(
-        
"http://localhost:5001/ebics/subscribers/{}/fetch-accounts".format(USERNAME),
-        json=dict()
+        "http://localhost:5001/bank-transports/syncHTD";,
+        json=dict(
+          type="ebics",
+          name="my-ebics"
+        ),
+        headers=dict(Authorization=USER_AUTHORIZATION_HEADER)
     )
 )
 
@@ -246,7 +250,7 @@ nexus.terminate()
 sandbox.terminate()
 exit(44)
 
-#3
+#3, request history to Nexus
 assertResponse(
     post(
         
"http://localhost:5001/ebics/subscribers/{}/collect-transactions-c53".format(USERNAME),
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index d267450..5d2b96f 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -135,7 +135,7 @@ suspend fun handleEbicsSendMSG(
                                 }
                                 BankAccountMapEntity.new {
                                     ebicsSubscriber = 
getEbicsTransport(userId, transportId)
-                                    this.nexusUser = nexusUser
+                                    this.nexusUser = getNexusUser(userId)
                                     this.bankAccount = bankAccount
                                 }
                             }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]