fix test withdrawal wallet invocation

This commit is contained in:
Florian Dold 2020-08-14 16:49:17 +05:30
parent 3161751eba
commit 96878561a5
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 12 additions and 6 deletions

@ -1 +1 @@
Subproject commit 24fa8dad8605b495efc1daa3d7189e2783110a34 Subproject commit f45d064d7986be3cac550761fa95fb3fdd89dab1

View File

@ -139,11 +139,17 @@ echo " DONE"
# run wallet CLI # run wallet CLI
echo "Running wallet" echo "Running wallet"
taler-wallet-cli --wallet-db=$WALLET_DB --no-throttle \
testing withdraw \ taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'withdrawTestBalance' \
-e $EXCHANGE_URL \ "$(jq -n '
-b $BANK_URL \ {
-a TESTKUDOS:8 amount: "TESTKUDOS:8",
bankBaseUrl: $BANK_URL,
exchangeBaseUrl: $BANK_URL,
}' \
--arg BANK_URL $BANK_URL \
--arg EXCHANGE_URL $EXCHANGE_URL
)"
export coins=$(taler-wallet-cli --wallet-db=$WALLET_DB advanced dump-coins) export coins=$(taler-wallet-cli --wallet-db=$WALLET_DB advanced dump-coins)