aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-01 17:32:10 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-01 17:32:10 +0200
commit9bc96506bb6441467c6558f5252e803c4292c9fe (patch)
tree12aa2af54ced1d289bbb5af2aecce17893c6fb75 /src/exchange-lib
parent76c8ab07e120210f248ce141aa9013de305aa5cf (diff)
downloadexchange-9bc96506bb6441467c6558f5252e803c4292c9fe.tar.xz
update man pages and templates to use current options
Diffstat (limited to 'src/exchange-lib')
-rw-r--r--src/exchange-lib/test-exchange-home/config/exchange-common.conf21
-rw-r--r--src/exchange-lib/test_exchange_api.c1
2 files changed, 14 insertions, 8 deletions
diff --git a/src/exchange-lib/test-exchange-home/config/exchange-common.conf b/src/exchange-lib/test-exchange-home/config/exchange-common.conf
index 89b7f5182..97947f111 100644
--- a/src/exchange-lib/test-exchange-home/config/exchange-common.conf
+++ b/src/exchange-lib/test-exchange-home/config/exchange-common.conf
@@ -22,15 +22,20 @@ TESTRUN = YES
[exchangedb-postgres]
DB_CONN_STR = "postgres:///talercheck"
-[wire-sepa]
+[wire-incoming-sepa]
SEPA_RESPONSE_FILE = "test-exchange-home/sepa.json"
-[wire-test]
+[wire-incoming-sepa]
+SEPA_RESPONSE_FILE = "test-exchange-home/sepa.json"
+
+[wire-incoming-test]
+# What is the main website of the bank?
+BANK_URI = "http://localhost/"
+# Into which account at the 'bank' should (incoming) wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2
+
+[wire-outgoing-test]
# What is the main website of the bank?
BANK_URI = "http://localhost/"
-# Into which account at the 'bank' should incoming
-# wire transfers be made?
-BANK_ACCOUNT_NO_INCOMING = 2
-# From which account at the 'bank' should outgoing
-# wire transfers be made?
-BANK_ACCOUNT_NO_OUTGOING = 2 \ No newline at end of file
+# Into which account at the 'bank' should (incoming) wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2
diff --git a/src/exchange-lib/test_exchange_api.c b/src/exchange-lib/test_exchange_api.c
index 6eae08f4d..bfe54d507 100644
--- a/src/exchange-lib/test_exchange_api.c
+++ b/src/exchange-lib/test_exchange_api.c
@@ -1227,6 +1227,7 @@ wire_cb (void *cls,
struct InterpreterState *is = cls;
struct Command *cmd = &is->commands[is->ip];
+ cmd->details.wire.wh = NULL;
if (cmd->expected_response_code != http_status)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,