diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-13 00:41:53 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-13 00:41:53 +0530 |
commit | db65f0a20669a81cb7db4425d7d044b8ff49952a (patch) | |
tree | 280ebbc25fdc3aed12ae3ebbecb692c1b0e39093 /integrationtests/test-double-link.sh | |
parent | e9ed3b18672af919efa12364b97fd2b7efe21cd9 (diff) |
remove old tests, superseded by the JS-based harness
Diffstat (limited to 'integrationtests/test-double-link.sh')
-rwxr-xr-x | integrationtests/test-double-link.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/integrationtests/test-double-link.sh b/integrationtests/test-double-link.sh deleted file mode 100755 index d5f5d3329..000000000 --- a/integrationtests/test-double-link.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# Script to check that Uris are properly handled when used a second time - -source "common.sh" -normal_start_and_wait "double-link" - -echo "Getting pay taler:// Uri" -PAY_URI=$(taler-wallet-cli testing gen-pay-uri -m "$MERCHANT_URL" -k sandbox -a "TESTKUDOS:1" -s "foo" | grep -E -o 'taler://.*') -echo "Trying to pay without balance" -taler-wallet-cli --wallet-db="$WALLET_DB" --no-throttle handle-uri --yes "$PAY_URI" 2>&1 | grep -q "insufficient balance" || exit_error "not reporting insufficient balance" -echo "Withdrawing" -taler-wallet-cli --wallet-db="$WALLET_DB" --no-throttle testing withdraw -e "$EXCHANGE_URL" -b "$BANK_URL" -a "TESTKUDOS:10" > /dev/null -echo "Trying to pay again, should work this time" -taler-wallet-cli --wallet-db="$WALLET_DB" --no-throttle handle-uri --yes "$PAY_URI" > /dev/null -echo "Trying to pay what was paid already should throw error" -taler-wallet-cli --wallet-db="$WALLET_DB" --no-throttle handle-uri --yes "$PAY_URI" 2>&1 | grep -q "already paid" || exit_error "not reporting already paid" -echo "Already paid properly detected" - -exit_success |