fix instance creation order
This commit is contained in:
parent
4414f738ef
commit
0e0d5fa3b4
@ -830,7 +830,7 @@ testCli
|
||||
help: "Glob pattern to select which tests to run",
|
||||
})
|
||||
.maybeOption("suites", ["--suites"], clk.STRING, {
|
||||
help: "Only run selected suites (string-separated list)",
|
||||
help: "Only run selected suites (comma-separated list)",
|
||||
})
|
||||
.flag("dryRun", ["--dry"], {
|
||||
help: "Only print tests that will be selected to run.",
|
||||
|
@ -103,18 +103,19 @@ export async function createConfusedMerchantTestkudosEnvironment(
|
||||
await merchant.start();
|
||||
await merchant.pingUntilAvailable();
|
||||
|
||||
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`],
|
||||
});
|
||||
|
||||
|
||||
await merchant.addInstance({
|
||||
id: "minst1",
|
||||
name: "minst1",
|
||||
paytoUris: ["payto://x-taler-bank/minst1"],
|
||||
});
|
||||
|
||||
console.log("setup done!");
|
||||
|
||||
const wallet = new WalletCli(t);
|
||||
|
@ -118,7 +118,7 @@ export async function runMerchantInstancesDeleteTest(t: GlobalTestState) {
|
||||
const exc = await t.assertThrowsAsync(async () => {
|
||||
await unauthMerchantClient.deleteInstance("myinst");
|
||||
});
|
||||
console.log(exc);
|
||||
console.log("Got expected exception", exc);
|
||||
t.assertAxiosError(exc);
|
||||
t.assertDeepEqual(exc.response?.status, 401);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user