diff options
author | Florian Dold <florian@dold.me> | 2021-05-21 12:03:09 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-21 12:03:09 +0200 |
commit | 0e0d5fa3b49e2c0065617bf78db5281322f775fa (patch) | |
tree | d91b3e509968fbe30a2e2dcf1104df15644a5668 /packages/taler-wallet-cli | |
parent | 4414f738ef37effa9a40091ca6b4f2a447edf7bb (diff) |
fix instance creation order
Diffstat (limited to 'packages/taler-wallet-cli')
3 files changed, 9 insertions, 8 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 59b8d5c60..aad034b87 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -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.", diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts index a14b63e00..deb0026fc 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-exchange-confusion.ts @@ -104,17 +104,18 @@ export async function createConfusedMerchantTestkudosEnvironment( 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); diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts index 77e0d1bd5..09353715f 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts @@ -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); } |