summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-06-02 10:21:12 +0200
committerMS <ms@taler.net>2020-06-02 10:21:12 +0200
commit320c5fd74091cbcbd06b8246f7817f259077080c (patch)
tree2b69442d7b5ed2fc4500f21129a865a15a1829d1
parent549f8a7c7be4878b06bdc44682f220c7261c3d20 (diff)
downloadexchange-320c5fd74091cbcbd06b8246f7817f259077080c.tar.gz
exchange-320c5fd74091cbcbd06b8246f7817f259077080c.tar.bz2
exchange-320c5fd74091cbcbd06b8246f7817f259077080c.zip
Nexus-based tests.
Prefer the 'iban' method over the 'x-taler-bank', regarding the payto:// URIs. Tests are still using the loopback bank connection, though.
-rw-r--r--src/testing/test_bank_api_nexus.conf4
-rw-r--r--src/testing/testing_api_helpers_bank.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_bank_api_nexus.conf b/src/testing/test_bank_api_nexus.conf
index 620e2073..14d287a7 100644
--- a/src/testing/test_bank_api_nexus.conf
+++ b/src/testing/test_bank_api_nexus.conf
@@ -4,8 +4,8 @@
currency = KUDOS
[exchange-account-2]
-PAYTO_URI = payto://iban/IBAN/UNUSED
-METHOD = x-taler-bank
+PAYTO_URI = payto://iban/BIC/ES9121000418450200051332?name=Exchange
+METHOD = iban
WIRE_GATEWAY_URL = http://localhost:5001/facades/my-facade/taler/
WIRE_GATEWAY_AUTH_METHOD = basic
# the exchange authenticates as the 'admin' user,
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c
index 16073554..a6a97edd 100644
--- a/src/testing/testing_api_helpers_bank.c
+++ b/src/testing/testing_api_helpers_bank.c
@@ -420,8 +420,8 @@ TALER_TESTING_prepare_nexus (const char *config_filename,
}
GNUNET_CONFIGURATION_destroy (cfg);
bc->exchange_payto = exchange_payto_uri;
- bc->user42_payto = "payto://x-taler-bank/localhost/42";
- bc->user43_payto = "payto://x-taler-bank/localhost/43";
+ bc->user42_payto = "payto://iban/BIC/FR7630006000011234567890189?name=User42";
+ bc->user43_payto = "payto://iban/BIC/GB33BUKB20201555555555?name=User43";
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Relying on nexus %s on port %u\n",
bc->exchange_auth.wire_gateway_url,