diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-29 11:55:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-29 11:55:44 +0200 |
commit | a0863ee5fcabf7e17615d3f7b90c8c28e921778a (patch) | |
tree | b636583304b5833d030f778701d6cda1ffc431ed /src | |
parent | 2aca3b5effc94c6749bb872b939f2d29feacda7a (diff) | |
parent | d1232f02cc5f715e63b23d55fc056122edfa14be (diff) | |
download | exchange-a0863ee5fcabf7e17615d3f7b90c8c28e921778a.tar.xz |
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src')
-rwxr-xr-x | src/auditor/generate-revoke-basedb.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh index 6a215425c..0a8a82632 100755 --- a/src/auditor/generate-revoke-basedb.sh +++ b/src/auditor/generate-revoke-basedb.sh @@ -165,6 +165,7 @@ taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'withdrawTestBalance' --arg EXCHANGE_URL $EXCHANGE_URL )" +taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB run-until-done export coins=$(taler-wallet-cli --wallet-db=$WALLET_DB advanced dump-coins) @@ -312,9 +313,16 @@ done # Now we buy something, only the coins resulting from recoup+refresh will be # used, as other ones are suspended -taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB testing test-pay \ - -m $MERCHANT_URL -k sandbox \ - -a "TESTKUDOS:0.02" -s "bar" +taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'testPay' \ + "$(jq -n ' + { + amount: "TESTKUDOS:0.02", + merchantApiKey: "sandbox", + merchantBaseUrl: $MERCHANT_URL, + summary: "bar", + }' \ + --arg MERCHANT_URL $MERCHANT_URL + )" taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB run-until-done echo "Bought something with refresh-recouped coin" |