From fc413bb5eca2171abb93b96e9b86f7b76c0a27af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 12 Sep 2022 14:09:28 +0200 Subject: wallet-core: make bank access API URL optional in runIntegrationTest --- packages/taler-util/src/walletTypes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts index 95772a58b..e79aa0b36 100644 --- a/packages/taler-util/src/walletTypes.ts +++ b/packages/taler-util/src/walletTypes.ts @@ -874,7 +874,7 @@ export const codecForTestPayArgs = (): Codec => export interface IntegrationTestArgs { exchangeBaseUrl: string; bankBaseUrl: string; - bankAccessApiBaseUrl: string; + bankAccessApiBaseUrl?: string; merchantBaseUrl: string; merchantAuthToken?: string; amountToWithdraw: string; @@ -889,7 +889,7 @@ export const codecForIntegrationTestArgs = (): Codec => .property("merchantAuthToken", codecOptional(codecForString())) .property("amountToSpend", codecForAmountString()) .property("amountToWithdraw", codecForAmountString()) - .property("bankAccessApiBaseUrl", codecForAmountString()) + .property("bankAccessApiBaseUrl", codecOptional(codecForAmountString())) .build("IntegrationTestArgs"); export interface AddExchangeRequest { -- cgit v1.2.3