libeufin tutorial test: create ebics host

This commit is contained in:
MS 2021-02-03 14:54:56 +01:00
parent a98a7cd051
commit fcbfe67122
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 10 additions and 0 deletions

View File

@ -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 {

View File

@ -58,4 +58,5 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) {
});
await libeufinCli.checkSandbox();
await libeufinCli.createEbicsHost("testhost");
}