summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-03 21:57:38 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-03 21:57:38 +0200
commitd0229a5706a6010c34628da918b6c047392f0dd4 (patch)
tree910e4e3c037a3c107975bb3e43799cadb5412ee7
parentfafdb22f2926189c7f84a84aa3e1078ca1281401 (diff)
downloadmerchant-d0229a5706a6010c34628da918b6c047392f0dd4.tar.gz
merchant-d0229a5706a6010c34628da918b6c047392f0dd4.tar.bz2
merchant-d0229a5706a6010c34628da918b6c047392f0dd4.zip
-adapt merchant to new config structure
-rw-r--r--src/testing/test_key_rotation.conf2
-rw-r--r--src/testing/test_merchant_api.conf6
-rw-r--r--src/testing/test_template.conf2
3 files changed, 8 insertions, 2 deletions
diff --git a/src/testing/test_key_rotation.conf b/src/testing/test_key_rotation.conf
index 6c72acaf..18047f0a 100644
--- a/src/testing/test_key_rotation.conf
+++ b/src/testing/test_key_rotation.conf
@@ -90,6 +90,8 @@ LEGAL_RESERVE_EXPIRATION_TIME = 7 years
PAYTO_URI = payto://x-taler-bank/localhost/Exchange
enable_debit = yes
enable_credit = yes
+
+[exchange-accountcredentials-1]
WIRE_GATEWAY_URL = "http://localhost:8082/taler-wire-gateway/Exchange/"
WIRE_GATEWAY_AUTH_METHOD = basic
USERNAME = Exchange
diff --git a/src/testing/test_merchant_api.conf b/src/testing/test_merchant_api.conf
index 6ec73be7..5f706d63 100644
--- a/src/testing/test_merchant_api.conf
+++ b/src/testing/test_merchant_api.conf
@@ -115,11 +115,13 @@ CONFIG = postgres:///talercheck
[exchange-account-exchange]
# What is the exchange's bank account (with the "Taler Bank" demo system)?
PAYTO_URI = "payto://x-taler-bank/localhost/2"
-WIRE_GATEWAY_URL = "http://localhost:8082/2/"
-WIRE_GATEWAY_AUTH_METHOD = NONE
ENABLE_DEBIT = YES
ENABLE_CREDIT = YES
+[exchange-accountcredentials-exchange]
+WIRE_GATEWAY_URL = "http://localhost:8082/2/"
+WIRE_GATEWAY_AUTH_METHOD = NONE
+
[coin_eur_ct_1]
value = EUR:0.01
diff --git a/src/testing/test_template.conf b/src/testing/test_template.conf
index d093d0a4..93d99f3d 100644
--- a/src/testing/test_template.conf
+++ b/src/testing/test_template.conf
@@ -75,6 +75,8 @@ LEGAL_RESERVE_EXPIRATION_TIME = 7 years
PAYTO_URI = payto://x-taler-bank/localhost/Exchange
enable_debit = yes
enable_credit = yes
+
+[exchange-accountcredentials-1]
WIRE_GATEWAY_URL = "http://localhost:8082/taler-wire-gateway/Exchange/"
WIRE_GATEWAY_AUTH_METHOD = basic
USERNAME = Exchange