aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-03-03 21:22:47 +0100
committerFlorian Dold <florian@dold.me>2021-03-03 21:22:47 +0100
commit364815e0cc66e1fe2560f95d0cc903f065b2e311 (patch)
tree93066397ae9fe60e5697e77e0e7e3b1f303c75cb /packages/taler-wallet-cli
parent1a0610f222f841237f9940a3a3a55635eec7d324 (diff)
add sebasjm's example
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-urls.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-urls.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-urls.ts
index 009ea2546..35734813b 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-urls.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-urls.ts
@@ -132,6 +132,13 @@ export async function runMerchantInstancesUrlsTest(t: GlobalTestState) {
200,
);
+ // Non-default instances don't allow instance management.
+ await check(
+ `${defaultBaseUrl}instances/foo/private/instances`,
+ "foo",
+ 404,
+ );
+
await check(`${defaultBaseUrl}config`, "foo", 200);
await check(`${defaultBaseUrl}instances/default/config`, "foo", 200);
await check(`${defaultBaseUrl}instances/myinst/config`, "foo", 200);