diff options
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/libeufin.ts | 9 | ||||
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts index 486837e9b..8b2ed8992 100644 --- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts +++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts @@ -196,6 +196,15 @@ export class LibeufinCli { extendEnv({ LIBEUFIN_SANDBOX_URL: this.cliDetails.sandboxUrl }), ); } + + async createEbicsHost(hostId: string): Promise<void> { + await sh( + this.globalTestState, + "libeufin-cli-createebicshost", + `libeufin-cli sandbox ebicshost create --host-id=${hostId}`, + extendEnv({ LIBEUFIN_SANDBOX_URL: this.cliDetails.sandboxUrl }), + ); + } } export namespace LibeufinSandboxApi { diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts index dce5e8869..58cee512a 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts @@ -58,4 +58,5 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) { }); await libeufinCli.checkSandbox(); + await libeufinCli.createEbicsHost("testhost"); } |