exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 320c5fd74091cbcbd06b8246f7817f259077080c
parent 549f8a7c7be4878b06bdc44682f220c7261c3d20
Author: MS <ms@taler.net>
Date:   Tue,  2 Jun 2020 10:21:12 +0200

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.

Diffstat:
Msrc/testing/test_bank_api_nexus.conf | 4++--
Msrc/testing/testing_api_helpers_bank.c | 4++--
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 @@ -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 @@ -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,