aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-02-03 14:54:56 +0100
committerMS <ms@taler.net>2021-02-03 14:54:56 +0100
commitfcbfe671220ff4e3b53f9151f870ccfe87a93d11 (patch)
treed56194b9f3a39a4a1f2d76d48462671b9da8fc2d /packages
parenta98a7cd0517fec269e4720756226ef6226216264 (diff)
libeufin tutorial test: create ebics host
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/libeufin.ts9
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts1
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");
}