libeufin tutorial test: create ebics host
This commit is contained in:
parent
a98a7cd051
commit
fcbfe67122
@ -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 {
|
||||
|
@ -58,4 +58,5 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) {
|
||||
});
|
||||
|
||||
await libeufinCli.checkSandbox();
|
||||
await libeufinCli.createEbicsHost("testhost");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user