summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-09-01 15:21:40 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-09-01 15:21:40 +0200
commit69b6aea2e800ff9ca0972495c1d5571a4266995b (patch)
treef21e39e1bfb1b7a5b230fb3e7aeb15141ae90952 /src/testing
parentfcec3bc2d446707329ae1a1f13ce9071b5b5a7e6 (diff)
downloadanastasis-gtk-69b6aea2e800ff9ca0972495c1d5571a4266995b.tar.gz
anastasis-gtk-69b6aea2e800ff9ca0972495c1d5571a4266995b.tar.bz2
anastasis-gtk-69b6aea2e800ff9ca0972495c1d5571a4266995b.zip
adapt to latest API changes
Diffstat (limited to 'src/testing')
-rwxr-xr-xsrc/testing/test_prepare.sh4
-rw-r--r--src/testing/test_reducer.conf1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/testing/test_prepare.sh b/src/testing/test_prepare.sh
index c45ce2e..5293037 100755
--- a/src/testing/test_prepare.sh
+++ b/src/testing/test_prepare.sh
@@ -518,8 +518,10 @@ then
echo -n "Configuring merchant instance ..."
# Setup merchant
- curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"accounts":[{"payto_uri":"payto://x-taler-bank/localhost/43"}],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/management/instances
+ curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/management/instances
+ curl -H "Content-Type: application/json" -X POST -d '{"payto_uri":"payto://x-taler-bank/localhost/43"}' http://localhost:9966/private/accounts
+
echo " OK"
echo -n "Preparing wallet"
diff --git a/src/testing/test_reducer.conf b/src/testing/test_reducer.conf
index 85d57c9..d3503f7 100644
--- a/src/testing/test_reducer.conf
+++ b/src/testing/test_reducer.conf
@@ -47,6 +47,7 @@ KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/
REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/
TERMS_ETAG = 0
PRIVACY_ETAG = 0
+STEFAN_ABS = "TESTKUDOS:5"
[merchant]
SERVE = tcp