merchant test: instance management only possibly via plain base URL

This commit is contained in:
Florian Dold 2021-03-04 12:57:54 +01:00
parent 9f0ca4b321
commit 041e7ec353
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -126,10 +126,12 @@ export async function runMerchantInstancesUrlsTest(t: GlobalTestState) {
404, 404,
); );
// Instance management is only available when accessing the default instance
// directly.
await check( await check(
`${defaultBaseUrl}instances/default/private/instances`, `${defaultBaseUrl}instances/default/private/instances`,
"foo", "foo",
200, 404,
); );
// Non-default instances don't allow instance management. // Non-default instances don't allow instance management.