diff options
author | Florian Dold <florian@dold.me> | 2022-09-12 14:09:28 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-12 14:09:28 +0200 |
commit | fc413bb5eca2171abb93b96e9b86f7b76c0a27af (patch) | |
tree | 2e4eaef8f8ef0bed2e4d4b68646a033b9f48a8eb /packages/taler-wallet-core/src | |
parent | dbabb7b8d2f63ad67ab53072c878bbc2d3b7a4a8 (diff) | |
download | wallet-core-fc413bb5eca2171abb93b96e9b86f7b76c0a27af.tar.xz |
wallet-core: make bank access API URL optional in runIntegrationTest
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/operations/testing.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts index a5aa1106f..5c54d22cf 100644 --- a/packages/taler-wallet-core/src/operations/testing.ts +++ b/packages/taler-wallet-core/src/operations/testing.ts @@ -353,7 +353,7 @@ export async function runIntegrationTest( await withdrawTestBalance(ws, { amount: args.amountToWithdraw, bankBaseUrl: args.bankBaseUrl, - bankAccessApiBaseUrl: args.bankAccessApiBaseUrl, + bankAccessApiBaseUrl: args.bankAccessApiBaseUrl ?? args.bankBaseUrl, exchangeBaseUrl: args.exchangeBaseUrl, }); await ws.runUntilDone(); @@ -382,7 +382,7 @@ export async function runIntegrationTest( await withdrawTestBalance(ws, { amount: Amounts.stringify(withdrawAmountTwo), bankBaseUrl: args.bankBaseUrl, - bankAccessApiBaseUrl: args.bankAccessApiBaseUrl, + bankAccessApiBaseUrl: args.bankAccessApiBaseUrl ?? args.bankBaseUrl, exchangeBaseUrl: args.exchangeBaseUrl, }); |