diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts index da4639859..2f248d2a0 100644 --- a/packages/taler-wallet-cli/src/integrationtests/harness.ts +++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts @@ -1489,6 +1489,17 @@ export class MerchantService implements MerchantServiceInterface { config.write(this.configFilename); } + async addDefaultInstance(): Promise { + return await this.addInstance({ + id: "default", + name: "Default Instance", + paytoUris: [`payto://x-taler-bank/merchant-default`], + auth: { + method: "external", + }, + }); + } + async addInstance( instanceConfig: PartialMerchantInstanceConfig, ): Promise { diff --git a/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts b/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts index dd7c60178..6a09de77d 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts @@ -81,7 +81,7 @@ export async function runBankApiTest(t: GlobalTestState) { await merchant.start(); await merchant.pingUntilAvailable(); - + await merchant.addDefaultInstance(); await merchant.addInstance({ id: "minst1", name: "minst1",