feat: 隔离公开工作空间缓存与品牌解析
This commit is contained in:
1 parent
ff5dc4e3ba
commit
aeb1605a2a
2 files changed
+14
-2
No files matched your search
@@ -61,6 +61,8 @@ test("health and public content are available without authentication", async ()
|
||||
const bySlug = await request("/public/workspace?brandSlug=default-brand");
|
||||
assert.equal(bySlug.statusCode, 200);
|
||||
assert.equal(JSON.parse(bySlug.body).brand.id, brandId);
|
||||
const missingSlug = await request("/public/workspace?brandSlug=missing-brand");
|
||||
assert.equal(missingSlug.statusCode, 404);
|
||||
});
|
||||
|
||||
test("public workspace uses brand-scoped capability installations and preserves status", async () => {
|
||||
|
||||
Reference in new issue
Block a user