summaryrefslogtreecommitdiff
path: root/src/testing/test_key_rotation.sh
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-17 00:45:31 +0100
committerFlorian Dold <florian@dold.me>2023-01-17 00:54:18 +0100
commitfc2a7ea0860ac9e7a697358a378571b543acb7f6 (patch)
tree7a3f755f3d426f17b6c7c897da688b45a4e14426 /src/testing/test_key_rotation.sh
parentb6f9b5e80652f95d552324001c3f0748f8034acc (diff)
downloadmerchant-fc2a7ea0860ac9e7a697358a378571b543acb7f6.tar.gz
merchant-fc2a7ea0860ac9e7a697358a378571b543acb7f6.tar.bz2
merchant-fc2a7ea0860ac9e7a697358a378571b543acb7f6.zip
call wallet API with --expect-success
Diffstat (limited to 'src/testing/test_key_rotation.sh')
-rwxr-xr-xsrc/testing/test_key_rotation.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/test_key_rotation.sh b/src/testing/test_key_rotation.sh
index ec54edb2..b3609b1d 100755
--- a/src/testing/test_key_rotation.sh
+++ b/src/testing/test_key_rotation.sh
@@ -279,7 +279,7 @@ echo " OK"
echo -n "First withdraw wallet"
rm $WALLET_DB
-taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'withdrawTestBalance' \
+taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api --expect-success 'withdrawTestBalance' \
"$(jq -n '
{
amount: "TESTKUDOS:1",
@@ -313,7 +313,7 @@ echo " OK"
echo -n "Second withdraw wallet"
rm $WALLET_DB
-taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'withdrawTestBalance' \
+taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api --expect-success 'withdrawTestBalance' \
"$(jq -n '
{
amount: "TESTKUDOS:1",
@@ -351,7 +351,7 @@ echo " OK"
echo -n "Third withdraw wallet"
rm $WALLET_DB
-taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'withdrawTestBalance' \
+taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api --expect-success 'withdrawTestBalance' \
"$(jq -n '
{
amount: "TESTKUDOS:1",