testing: provide default instance beforehand
This commit is contained in:
parent
2a86e4c721
commit
3de34849b8
@ -136,18 +136,13 @@ export async function createMyTestkudosEnvironment(
|
|||||||
await merchant.start();
|
await merchant.start();
|
||||||
await merchant.pingUntilAvailable();
|
await merchant.pingUntilAvailable();
|
||||||
|
|
||||||
|
await merchant.addDefaultInstance();
|
||||||
await merchant.addInstance({
|
await merchant.addInstance({
|
||||||
id: "minst1",
|
id: "minst1",
|
||||||
name: "minst1",
|
name: "minst1",
|
||||||
paytoUris: ["payto://x-taler-bank/minst1"],
|
paytoUris: ["payto://x-taler-bank/minst1"],
|
||||||
});
|
});
|
||||||
|
|
||||||
await merchant.addInstance({
|
|
||||||
id: "default",
|
|
||||||
name: "Default Instance",
|
|
||||||
paytoUris: [`payto://x-taler-bank/merchant-default`],
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log("setup done!");
|
console.log("setup done!");
|
||||||
|
|
||||||
const wallet = new WalletCli(t);
|
const wallet = new WalletCli(t);
|
||||||
|
Loading…
Reference in New Issue
Block a user