testing: provide default instance beforehand

This commit is contained in:
ms 2021-07-29 16:03:08 +02:00
parent 58c3a17b3e
commit 2a86e4c721
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -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!");
/* /*