From 277f90bf2ba38e1e33ab761e2052f0807730364b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 10 Nov 2018 19:28:28 +0100 Subject: preparing test logic for new auditor requirements (incomplete) --- src/exchange-lib/test_exchange_api_new.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/exchange-lib/test_exchange_api_new.c') diff --git a/src/exchange-lib/test_exchange_api_new.c b/src/exchange-lib/test_exchange_api_new.c index f87aa4ab..11b36141 100644 --- a/src/exchange-lib/test_exchange_api_new.c +++ b/src/exchange-lib/test_exchange_api_new.c @@ -65,6 +65,13 @@ static char *fakebank_url; */ static char *exchange_url; +/** + * Auditor base URL as it appears in the configuration. Note + * that it might differ from the one where the auditor actually + * listens from. + */ +static char *auditor_url; + /** * Account number of the exchange at the bank. */ @@ -941,7 +948,8 @@ main (int argc, * fetches the port number from config in order to see * if it's available. */ switch (TALER_TESTING_prepare_exchange (CONFIG_FILE, - &exchange_url)) + &auditor_url, + &exchange_url)) { case GNUNET_SYSERR: GNUNET_break (0); -- cgit v1.2.3