From fc2a7ea0860ac9e7a697358a378571b543acb7f6 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 17 Jan 2023 00:45:31 +0100 Subject: call wallet API with --expect-success --- src/testing/test_key_rotation.sh | 6 +++--- src/testing/test_merchant_order_autocleanup.sh | 2 +- src/testing/test_merchant_order_creation.sh | 2 +- src/testing/test_merchant_product_creation.sh | 2 +- src/testing/test_merchant_transfer_tracking.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/testing') 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", -- cgit v1.2.3