fix bank invocation, skip tests when not present.
This commit is contained in:
parent
f73be00e0f
commit
0ff387c6f5
@ -4,6 +4,6 @@
|
|||||||
"compile": "pnpm run --filter '{packages}' compile",
|
"compile": "pnpm run --filter '{packages}' compile",
|
||||||
"clean": "pnpm run --filter '{packages}' clean",
|
"clean": "pnpm run --filter '{packages}' clean",
|
||||||
"pretty": "pnpm run --filter '{packages}' pretty",
|
"pretty": "pnpm run --filter '{packages}' pretty",
|
||||||
"check": "pnpm run --filter '{packages}' test"
|
"check": "pnpm run --filter '{packages}' --if-present test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -642,6 +642,7 @@ export class BankService implements BankServiceInterface {
|
|||||||
config.setString("taler", "currency", bc.currency);
|
config.setString("taler", "currency", bc.currency);
|
||||||
config.setString("bank", "database", bc.database);
|
config.setString("bank", "database", bc.database);
|
||||||
config.setString("bank", "http_port", `${bc.httpPort}`);
|
config.setString("bank", "http_port", `${bc.httpPort}`);
|
||||||
|
config.setString("bank", "serve", "http");
|
||||||
config.setString("bank", "max_debt_bank", `${bc.currency}:999999`);
|
config.setString("bank", "max_debt_bank", `${bc.currency}:999999`);
|
||||||
config.setString("bank", "max_debt", bc.maxDebt ?? `${bc.currency}:100`);
|
config.setString("bank", "max_debt", bc.maxDebt ?? `${bc.currency}:100`);
|
||||||
config.setString(
|
config.setString(
|
||||||
@ -716,7 +717,7 @@ export class BankService implements BankServiceInterface {
|
|||||||
async start(): Promise<void> {
|
async start(): Promise<void> {
|
||||||
this.proc = this.globalTestState.spawnService(
|
this.proc = this.globalTestState.spawnService(
|
||||||
"taler-bank-manage",
|
"taler-bank-manage",
|
||||||
["-c", this.configFile, "serve-http"],
|
["-c", this.configFile, "serve"],
|
||||||
"bank",
|
"bank",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user