aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentb6f9b5e80652f95d552324001c3f0748f8034acc (diff)
call wallet API with --expect-success
Diffstat (limited to 'src')
-rwxr-xr-xsrc/testing/test_key_rotation.sh6
-rwxr-xr-xsrc/testing/test_merchant_order_autocleanup.sh2
-rwxr-xr-xsrc/testing/test_merchant_order_creation.sh2
-rwxr-xr-xsrc/testing/test_merchant_product_creation.sh2
-rwxr-xr-xsrc/testing/test_merchant_transfer_tracking.sh2
5 files changed, 7 insertions, 7 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",
diff --git a/src/testing/test_merchant_order_autocleanup.sh b/src/testing/test_merchant_order_autocleanup.sh
index 703f7be0..4a53edca 100755
--- a/src/testing/test_merchant_order_autocleanup.sh
+++ b/src/testing/test_merchant_order_autocleanup.sh
@@ -5,7 +5,7 @@
echo -n "First, prepare wallet with coins..."
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:99",
diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh
index 8e1fdbf7..684803b8 100755
--- a/src/testing/test_merchant_order_creation.sh
+++ b/src/testing/test_merchant_order_creation.sh
@@ -15,7 +15,7 @@ function wire_funds() {
echo -n "First prepare wallet with coins ..."
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:99",
diff --git a/src/testing/test_merchant_product_creation.sh b/src/testing/test_merchant_product_creation.sh
index 523faf28..fa769e47 100755
--- a/src/testing/test_merchant_product_creation.sh
+++ b/src/testing/test_merchant_product_creation.sh
@@ -173,7 +173,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:5",
diff --git a/src/testing/test_merchant_transfer_tracking.sh b/src/testing/test_merchant_transfer_tracking.sh
index 5626b95b..8fb7be64 100755
--- a/src/testing/test_merchant_transfer_tracking.sh
+++ b/src/testing/test_merchant_transfer_tracking.sh
@@ -22,7 +22,7 @@
echo -n "First prepare wallet with coins..."
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:99",