diff options
Diffstat (limited to 'packages/taler-harness/src/harness')
-rw-r--r-- | packages/taler-harness/src/harness/harness.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/taler-harness/src/harness/harness.ts b/packages/taler-harness/src/harness/harness.ts index 8c2ce1873..5f90c8daf 100644 --- a/packages/taler-harness/src/harness/harness.ts +++ b/packages/taler-harness/src/harness/harness.ts @@ -793,7 +793,11 @@ export class LibeufinBankService throw Error("Can't set suggested exchange while bank is running."); } const config = Configuration.load(this.configFile); - config.setString("libeufin-bank", "suggested_withdrawal_exchange", e.baseUrl); + config.setString( + "libeufin-bank", + "suggested_withdrawal_exchange", + e.baseUrl, + ); config.write(this.configFile, { excludeDefaults: true }); } @@ -822,6 +826,12 @@ export class LibeufinBankService `libeufin-bank dbinit -r -c "${this.configFile}"`, ); + await sh( + this.globalTestState, + "libeufin-bank-dbinit", + `libeufin-bank passwd -c "${this.configFile}" admin adminpw`, + ); + this.proc = this.globalTestState.spawnService( "libeufin-bank", ["serve", "-c", this.configFile], |