summaryrefslogtreecommitdiff
path: root/src/cli/test_iban.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-17 22:18:19 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-17 22:18:19 +0100
commita563dd599df11975cacfd1764b2eea8bf4d9595a (patch)
tree4c8c628294a2a2c6d84bc32f4437be7b53c02150 /src/cli/test_iban.sh
parenta91a6ba1f690062a682f5d753bf80bd24a4407f8 (diff)
downloadanastasis-a563dd599df11975cacfd1764b2eea8bf4d9595a.tar.gz
anastasis-a563dd599df11975cacfd1764b2eea8bf4d9595a.tar.bz2
anastasis-a563dd599df11975cacfd1764b2eea8bf4d9595a.zip
-try to get tests to pass again
Diffstat (limited to 'src/cli/test_iban.sh')
-rwxr-xr-xsrc/cli/test_iban.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index 135ab02..f4d9085 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -86,13 +86,16 @@ trap cleanup EXIT
# to pass through the Nexus+Ebics layer to issue the payment
# $1 = amount ($CURRENCY:X.Y), $2 = subject.
function wire_transfer_to_anastasis() {
+ echo -n "Initiating wire transfer ..."
libeufin-sandbox make-transaction \
--debit-account=sandbox-account-debit \
- --credit-account=sandbox-account-credit "$1" "$2"
- # Sync nexus with sandbox
+ --credit-account=sandbox-account-credit "$1" "$2" &> libeufin-transfer-initiate.out
+ echo " OK"
+ echo -n "Syncing nexus with sandbox ..."
export LIBEUFIN_NEXUS_USERNAME=$CREDIT_USERNAME
export LIBEUFIN_NEXUS_PASSWORD=$CREDIT_PASSWORD
- libeufin-cli accounts fetch-transactions nexus-bankaccount-credit > /dev/null
+ libeufin-cli accounts fetch-transactions nexus-bankaccount-credit &> libeufin-transfer-fetch.out
+ echo " OK"
}
# $1 = facade base URL. Merely a debug utility.
@@ -502,7 +505,7 @@ wire_transfer_to_anastasis "${AMOUNT}" "${SUBJECT}"
echo " OK"
echo -n "Triggering inbound check ..."
-anastasis-helper-authorization-iban -c $CONF -t
+anastasis-helper-authorization-iban -c $CONF -t -L INFO
echo " OK"
# Now we should get the secret...