add sebasjm's example
This commit is contained in:
parent
1a0610f222
commit
364815e0cc
@ -132,6 +132,13 @@ export async function runMerchantInstancesUrlsTest(t: GlobalTestState) {
|
|||||||
200,
|
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}config`, "foo", 200);
|
||||||
await check(`${defaultBaseUrl}instances/default/config`, "foo", 200);
|
await check(`${defaultBaseUrl}instances/default/config`, "foo", 200);
|
||||||
await check(`${defaultBaseUrl}instances/myinst/config`, "foo", 200);
|
await check(`${defaultBaseUrl}instances/myinst/config`, "foo", 200);
|
||||||
|
Loading…
Reference in New Issue
Block a user