aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/test_bank.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-30 16:31:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-30 16:31:24 +0200
commit7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a (patch)
tree60e9259939dca8f9bb9ad2539d594fb15e67a170 /src/bank-lib/test_bank.sh
parent7f902c0fc9bc7e0832d01169e6f580ab671fbf08 (diff)
-generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests
Diffstat (limited to 'src/bank-lib/test_bank.sh')
-rwxr-xr-xsrc/bank-lib/test_bank.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bank-lib/test_bank.sh b/src/bank-lib/test_bank.sh
index 46be326b4..ab76d2bad 100755
--- a/src/bank-lib/test_bank.sh
+++ b/src/bank-lib/test_bank.sh
@@ -49,7 +49,7 @@ echo -n "Making wire transfer to exchange ..."
taler-exchange-wire-gateway-client \
-b http://localhost:8899/exchange/ \
-S 0ZSX8SH0M30KHX8K3Y1DAMVGDQV82XEF9DG1HC4QMQ3QWYT4AF00 \
- -D payto://x-taler-bank/localhost:8899/user \
+ -D payto://x-taler-bank/localhost:8899/user?receiver-name=user \
-a TESTKUDOS:4 > /dev/null
echo " OK"
@@ -64,8 +64,9 @@ echo -n "Making wire transfer from exchange..."
./taler-exchange-wire-gateway-client \
-b http://localhost:8899/exchange/ \
-S 0ZSX8SH0M30KHX8K3Y1DAMVGDQV82XEF9DG1HC4QMQ3QWYT4AF00 \
- -C payto://x-taler-bank/localhost:8899/merchant \
- -a TESTKUDOS:2 > /dev/null
+ -C payto://x-taler-bank/localhost:8899/merchant?receiver-name=merchant \
+ -a TESTKUDOS:2 \
+ -L DEBUG > /dev/null
echo " OK"