testing: provide default instance beforehand

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

View File

@ -136,18 +136,13 @@ export async function createMyTestkudosEnvironment(
await merchant.start();
await merchant.pingUntilAvailable();
await merchant.addDefaultInstance();
await merchant.addInstance({
id: "minst1",
name: "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!");
const wallet = new WalletCli(t);