aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib/test-mint-home
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-15 17:27:02 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-15 17:27:02 +0200
commite68446e0a8a4a54b99ba5773a9f7ff17837a393b (patch)
treed35410d8a0d4e3ea00de8cad8f671ce5f5e5bbbe /src/mint-lib/test-mint-home
parent1b0f8609901eb8184194144cc20a194534c81a4a (diff)
adding tests for /wire
Diffstat (limited to 'src/mint-lib/test-mint-home')
-rw-r--r--src/mint-lib/test-mint-home/config/mint-common.conf15
-rw-r--r--src/mint-lib/test-mint-home/sepa.json6
2 files changed, 18 insertions, 3 deletions
diff --git a/src/mint-lib/test-mint-home/config/mint-common.conf b/src/mint-lib/test-mint-home/config/mint-common.conf
index 1b8aa4218..eb2f7e90b 100644
--- a/src/mint-lib/test-mint-home/config/mint-common.conf
+++ b/src/mint-lib/test-mint-home/config/mint-common.conf
@@ -2,9 +2,12 @@
# Currency supported by the mint (can only be one)
CURRENCY = EUR
-# Wire format supproted by the mint
-# TEST is used for testing... (what a shock)
-WIREFORMAT = TEST
+# Wire format supported by the mint
+# We use 'test' for testing, in principle we should
+# run tests for all supported wire formats...
+# (we should first implement support for a mint running
+# with multiple formats at the same time).
+WIREFORMAT = test
# HTTP port the mint listens to
PORT = 8081
@@ -21,3 +24,9 @@ TESTRUN = YES
[mintdb-postgres]
DB_CONN_STR = "postgres:///talercheck"
+
+[mint-wire-sepa]
+SEPA_RESPONSE_FILE = "test-mint-home/sepa.json"
+
+[mint-wire-test]
+REDIRECT_URL = "http://www.taler.net/"
diff --git a/src/mint-lib/test-mint-home/sepa.json b/src/mint-lib/test-mint-home/sepa.json
new file mode 100644
index 000000000..36d12f661
--- /dev/null
+++ b/src/mint-lib/test-mint-home/sepa.json
@@ -0,0 +1,6 @@
+{
+ "receiver_name": "Max Mustermann",
+ "iban": "DE89370400440532013000",
+ "bic": "COBADEFF370",
+ "sig": "8M5YJXM68PRAXKH76HYEBCJW657B23JA0RFGNDMZK2379YZMT626H1BN89KC0M1KJBWGYEN5Z763Q0Y7MCTZQ6BPPT7D9KFCTW60C10"
+} \ No newline at end of file