add sebasjm's example

This commit is contained in:
Florian Dold 2021-03-03 21:22:47 +01:00
parent 1a0610f222
commit 364815e0cc
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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);