From 320c5fd74091cbcbd06b8246f7817f259077080c Mon Sep 17 00:00:00 2001 From: MS Date: Tue, 2 Jun 2020 10:21:12 +0200 Subject: 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. --- src/testing/test_bank_api_nexus.conf | 4 ++-- src/testing/testing_api_helpers_bank.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/testing/test_bank_api_nexus.conf b/src/testing/test_bank_api_nexus.conf index 620e2073e..14d287a71 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 16073554c..a6a97edd5 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, -- cgit v1.2.3