fix: 补齐多品牌运行时内容数据
This commit is contained in:
1 parent
f7fe6d6b20
commit
241c19812f
6 files changed
+188
-3
No files matched your search
@@ -58,6 +58,9 @@ test("health and public content are available without authentication", async ()
|
||||
assert.ok(Array.isArray(runtime.capabilities));
|
||||
assert.ok(runtime.theme.colors.background);
|
||||
assert.ok(Array.isArray(runtime.plugins));
|
||||
assert.equal(runtime.brand.founder, "阿成");
|
||||
assert.ok(runtime.offerings.every((item) => item.coverUrl));
|
||||
assert.ok(runtime.trustContent.length > 0);
|
||||
const bySlug = await request("/public/workspace?brandSlug=default-brand");
|
||||
assert.equal(bySlug.statusCode, 200);
|
||||
assert.equal(JSON.parse(bySlug.body).brand.id, brandId);
|
||||
|
||||
Reference in new issue
Block a user