summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-01-11 18:32:40 +0100
committerMS <ms@taler.net>2023-01-11 18:40:52 +0100
commitc6876bfb4fbe7430a396d09be4227948a1d54d4c (patch)
tree03047a331f4c4923c6259244f9ddf3a9fc7684e2
parentf2e444a6bb6a24c6398376ab7048baae37890b90 (diff)
downloadexchange-c6876bfb4fbe7430a396d09be4227948a1d54d4c.tar.gz
exchange-c6876bfb4fbe7430a396d09be4227948a1d54d4c.tar.bz2
exchange-c6876bfb4fbe7430a396d09be4227948a1d54d4c.zip
tests: adjusting the bank URL for the wallet CLI.
The wallet CLI needs the bank URL to still end with "/demobanks/default" to find the Access API endpoints, as opposed to the latest libeufin-cli that builds those from the "/"-only base URL.
-rwxr-xr-xsrc/auditor/generate-auditor-basedb.sh2
-rwxr-xr-xsrc/auditor/generate-revoke-basedb.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/generate-auditor-basedb.sh b/src/auditor/generate-auditor-basedb.sh
index 8a80c3b62..c1d806e6e 100755
--- a/src/auditor/generate-auditor-basedb.sh
+++ b/src/auditor/generate-auditor-basedb.sh
@@ -418,7 +418,7 @@ taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api --expect-success 'runI
}' \
--arg MERCHANT_URL "$MERCHANT_URL" \
--arg EXCHANGE_URL "$EXCHANGE_URL" \
- --arg BANK_URL "$BANK_URL/access-api/"
+ --arg BANK_URL "$BANK_URL/demobanks/default/access-api/"
)" &> ${MY_TMP_DIR}/taler-wallet-cli.log
echo "Shutting down services"
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh
index 15ef0ff23..8ac5b2db8 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -413,7 +413,7 @@ taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api --expect-success 'with
bankBaseUrl: $BANK_URL,
exchangeBaseUrl: $EXCHANGE_URL,
}' \
- --arg BANK_URL "$BANK_URL/access-api/" \
+ --arg BANK_URL "$BANK_URL/demobanks/default/access-api/" \
--arg EXCHANGE_URL $EXCHANGE_URL
)"