testing: provide default instance beforehand
This commit is contained in:
parent
58c3a17b3e
commit
2a86e4c721
@ -91,18 +91,18 @@ export async function runExchangeManagementTest(t: GlobalTestState) {
|
|||||||
await merchant.start();
|
await merchant.start();
|
||||||
await merchant.pingUntilAvailable();
|
await merchant.pingUntilAvailable();
|
||||||
|
|
||||||
await merchant.addInstance({
|
|
||||||
id: "minst1",
|
|
||||||
name: "minst1",
|
|
||||||
paytoUris: ["payto://x-taler-bank/minst1"],
|
|
||||||
});
|
|
||||||
|
|
||||||
await merchant.addInstance({
|
await merchant.addInstance({
|
||||||
id: "default",
|
id: "default",
|
||||||
name: "Default Instance",
|
name: "Default Instance",
|
||||||
paytoUris: [`payto://x-taler-bank/merchant-default`],
|
paytoUris: [`payto://x-taler-bank/merchant-default`],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await merchant.addInstance({
|
||||||
|
id: "minst1",
|
||||||
|
name: "minst1",
|
||||||
|
paytoUris: ["payto://x-taler-bank/minst1"],
|
||||||
|
});
|
||||||
|
|
||||||
console.log("setup done!");
|
console.log("setup done!");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user