summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-02 14:33:26 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-02 14:34:23 +0200
commit40a64e8f0c4da9d99f1352004b572052da1cecb7 (patch)
treeeb01238ce92f5ad128192f54657937256af0115c /src/bank-lib
parentcb55c1a3af9f56a6da38e5589e72df0b70d355b1 (diff)
downloadexchange-40a64e8f0c4da9d99f1352004b572052da1cecb7.tar.gz
exchange-40a64e8f0c4da9d99f1352004b572052da1cecb7.tar.bz2
exchange-40a64e8f0c4da9d99f1352004b572052da1cecb7.zip
fix post-merge FTBFS
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/bank_twisted.conf3
-rw-r--r--src/bank-lib/test_bank_api_with_fakebank_twisted.c8
2 files changed, 7 insertions, 4 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;