diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-urls.ts | 7 |
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); |