Merge branch 'master' of git+ssh://git.taler.net/exchange
This commit is contained in:
commit
35bf856fcb
@ -201,9 +201,18 @@ register_sandbox_account() {
|
|||||||
demobank \
|
demobank \
|
||||||
delete \
|
delete \
|
||||||
--bank-account "$1" &> /dev/null || true
|
--bank-account "$1" &> /dev/null || true
|
||||||
libeufin-cli sandbox \
|
|
||||||
demobank \
|
MAYBE_IBAN="${4:-}"
|
||||||
register --name "$3"
|
if test -n "$MAYBE_IBAN"; then
|
||||||
|
libeufin-cli sandbox \
|
||||||
|
demobank \
|
||||||
|
register --name "$3" --iban "$MAYBE_IBAN"
|
||||||
|
else
|
||||||
|
libeufin-cli sandbox \
|
||||||
|
demobank \
|
||||||
|
register --name "$3"
|
||||||
|
fi
|
||||||
|
|
||||||
unset LIBEUFIN_SANDBOX_USERNAME
|
unset LIBEUFIN_SANDBOX_USERNAME
|
||||||
unset LIBEUFIN_SANDBOX_PASSWORD
|
unset LIBEUFIN_SANDBOX_PASSWORD
|
||||||
}
|
}
|
||||||
@ -256,7 +265,11 @@ then
|
|||||||
fi
|
fi
|
||||||
echo "OK"
|
echo "OK"
|
||||||
echo -n "Register Sandbox users ..."
|
echo -n "Register Sandbox users ..."
|
||||||
register_sandbox_account fortytwo x "Forty Two"
|
# The specified IBAN and name must match the ones hard-coded into
|
||||||
|
# the C helper for the add-incoming call. Without this value,
|
||||||
|
# Sandbox won't find the target account to debit along a /add-incoming
|
||||||
|
# call.
|
||||||
|
register_sandbox_account fortytwo x "User42" FR7630006000011234567890189
|
||||||
register_sandbox_account fortythree x "Forty Three"
|
register_sandbox_account fortythree x "Forty Three"
|
||||||
register_sandbox_account exchange x "Exchange Company"
|
register_sandbox_account exchange x "Exchange Company"
|
||||||
register_sandbox_account tor x "Tor Project"
|
register_sandbox_account tor x "Tor Project"
|
||||||
|
@ -142,8 +142,8 @@ run (void *cls,
|
|||||||
"fetch-transactions-at-nexus",
|
"fetch-transactions-at-nexus",
|
||||||
"exchange", /* from taler-nexus-prepare */
|
"exchange", /* from taler-nexus-prepare */
|
||||||
"x", /* from taler-nexus-prepare */
|
"x", /* from taler-nexus-prepare */
|
||||||
"http://localhost:5001",
|
"http://localhost:8082",
|
||||||
"my-bank-account") /* from taler-nexus-prepare */
|
"exchange-nexus") /* from taler-nexus-prepare */
|
||||||
: TALER_TESTING_cmd_sleep ("nop",
|
: TALER_TESTING_cmd_sleep ("nop",
|
||||||
0),
|
0),
|
||||||
TALER_TESTING_cmd_bank_debits ("history-2b",
|
TALER_TESTING_cmd_bank_debits ("history-2b",
|
||||||
|
Loading…
Reference in New Issue
Block a user