diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-02 14:33:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-02 14:34:23 +0200 |
commit | 40a64e8f0c4da9d99f1352004b572052da1cecb7 (patch) | |
tree | eb01238ce92f5ad128192f54657937256af0115c /src | |
parent | cb55c1a3af9f56a6da38e5589e72df0b70d355b1 (diff) | |
download | exchange-40a64e8f0c4da9d99f1352004b572052da1cecb7.tar.xz |
fix post-merge FTBFS
Diffstat (limited to 'src')
-rw-r--r-- | src/bank-lib/bank_twisted.conf | 3 | ||||
-rw-r--r-- | src/bank-lib/test_bank_api_with_fakebank_twisted.c | 8 | ||||
-rw-r--r-- | src/exchange-lib/test_exchange_api_twisted.c | 3 |
3 files changed, 9 insertions, 5 deletions
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 |