diff options
author | MS <ms@taler.net> | 2021-02-03 14:54:56 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-02-03 14:54:56 +0100 |
commit | fcbfe671220ff4e3b53f9151f870ccfe87a93d11 (patch) | |
tree | d56194b9f3a39a4a1f2d76d48462671b9da8fc2d /packages | |
parent | a98a7cd0517fec269e4720756226ef6226216264 (diff) | |
download | wallet-core-fcbfe671220ff4e3b53f9151f870ccfe87a93d11.tar.xz |
libeufin tutorial test: create ebics host
Diffstat (limited to 'packages')
-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"); } |