gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Testing bank connection with name coll


From: gnunet
Subject: [libeufin] branch master updated: Testing bank connection with name collision.
Date: Mon, 23 Nov 2020 12:01:08 +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 de7ae22  Testing bank connection with name collision.
de7ae22 is described below

commit de7ae223bc8345f69688ac4622b05a362e8ff23e
Author: MS <ms@taler.net>
AuthorDate: Fri Nov 20 22:44:35 2020 +0100

    Testing bank connection with name collision.
---
 integration-tests/tests.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/integration-tests/tests.py b/integration-tests/tests.py
index cbad178..6f5556f 100755
--- a/integration-tests/tests.py
+++ b/integration-tests/tests.py
@@ -314,3 +314,23 @@ def test_payment_double_submission():
         ),
         [500]
     )
+
+def test_double_connection_name():
+    assertResponse(
+        post(
+            f"{N}/bank-connections",
+            json=dict(
+                name=NEXUS_BANK_CONNECTION,
+                source="new",
+                type="ebics",
+                data=dict(
+                    ebicsURL=EBICS_URL,
+                    hostID=EBICS_HOST,
+                    partnerID=EBICS_PARTNER,
+                    userID=EBICS_USER
+                ),
+            ),
+            auth=NEXUS_AUTH
+        ),
+        [406] # expecting "406 Not acceptable"
+    )

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