diff --git a/src/bank-lib/bank_twisted.conf b/src/bank-lib/bank_twisted.conf index 54e8c80e2..d20e10948 100644 --- a/src/bank-lib/bank_twisted.conf +++ b/src/bank-lib/bank_twisted.conf @@ -29,5 +29,8 @@ currency = KUDOS [bank] http_port = 8081 +[account-1] +URL = payto://x-taler-bank/localhost:8081/1 + [exchange-wire-test] bank_url = http://localhost:8081/ diff --git a/src/bank-lib/test_bank_api_with_fakebank_twisted.c b/src/bank-lib/test_bank_api_with_fakebank_twisted.c index 6465c0378..4e491102b 100644 --- a/src/bank-lib/test_bank_api_with_fakebank_twisted.c +++ b/src/bank-lib/test_bank_api_with_fakebank_twisted.c @@ -75,9 +75,7 @@ static void run (void *cls, struct TALER_TESTING_Interpreter *is) { - struct TALER_TESTING_Command commands[] = { - TALER_TESTING_cmd_bank_history ("history-0", fakebank_url, EXCHANGE_ACCOUNT_NUMBER, @@ -110,6 +108,7 @@ purge_process (struct GNUNET_OS_Process *process) GNUNET_OS_process_destroy (process); } + int main (int argc, char * const *argv) @@ -122,13 +121,14 @@ main (int argc, "DEBUG", NULL); if (NULL == (fakebank_url = TALER_TESTING_prepare_fakebank - (CONFIG_FILE))) + (CONFIG_FILE, + "account-1"))) return 77; if (NULL == (twister_url = TALER_TESTING_prepare_twister (CONFIG_FILE))) return 77; - + if (NULL == (twisterd = TALER_TESTING_run_twister (CONFIG_FILE))) return 77; diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c index 6032417ea..1e3aa34b5 100644 --- a/src/exchange-lib/test_exchange_api_twisted.c +++ b/src/exchange-lib/test_exchange_api_twisted.c @@ -179,7 +179,8 @@ main (int argc, "DEBUG", NULL); if (NULL == (fakebank_url = TALER_TESTING_prepare_fakebank - (CONFIG_FILE))) + (CONFIG_FILE, + "account-2"))) return 77; if (NULL == (twister_url = TALER_TESTING_prepare_twister