fix: 输出品牌启用的能力插件
This commit is contained in:
1 parent
15df8ed821
commit
52f741cc2c
2 files changed
+5
-1
No files matched your search
@@ -135,6 +135,8 @@ test("admin can install optional quote capability without industry-specific bran
|
||||
});
|
||||
assert.equal(response.statusCode, 200);
|
||||
assert.equal(JSON.parse(response.body).capabilityKey, "quote-request");
|
||||
const workspace = await request("/public/workspace");
|
||||
assert.ok(JSON.parse(workspace.body).plugins.some((plugin) => plugin.key === "quote-request"));
|
||||
await prisma.capabilityInstallation.deleteMany({
|
||||
where: { brandId, capabilityKey: "quote-request" },
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user