aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/harness/harness.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/harness/harness.ts')
-rw-r--r--packages/taler-harness/src/harness/harness.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/taler-harness/src/harness/harness.ts b/packages/taler-harness/src/harness/harness.ts
index 2bbaafaf2..dc331a6cc 100644
--- a/packages/taler-harness/src/harness/harness.ts
+++ b/packages/taler-harness/src/harness/harness.ts
@@ -1618,6 +1618,26 @@ export class ExchangeService implements ExchangeServiceInterface {
}
}
+ async enableAmlAccount(
+ amlStaffPub: string,
+ legalName: string,
+ ): Promise<void> {
+ await runCommand(
+ this.globalState,
+ "exchange-offline",
+ "taler-exchange-offline",
+ [
+ "-c",
+ this.configFilename,
+ "aml-enable",
+ amlStaffPub,
+ legalName,
+ "rw",
+ "upload",
+ ],
+ );
+ }
+
async pingUntilAvailable(): Promise<void> {
// We request /management/keys, since /keys can block
// when we didn't do the key setup yet.