From c6876bfb4fbe7430a396d09be4227948a1d54d4c Mon Sep 17 00:00:00 2001 From: MS Date: Wed, 11 Jan 2023 18:32:40 +0100 Subject: [PATCH] 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. --- src/auditor/generate-auditor-basedb.sh | 2 +- src/auditor/generate-revoke-basedb.sh | 2 +- 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 )"