test: update permission count tests for new enterprise permissions

This commit is contained in:
SnapOtter
2026-06-13 17:07:39 +08:00
parent 1cf1f47d6f
commit de7bbcc18d
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ describe("hasEffectivePermission", () => {
describe("getPermissions", () => {
describe("exact counts for built-in roles", () => {
it("admin has exactly 14 permissions", async () => {
expect(await getPermissions("admin")).toHaveLength(14);
it("admin has exactly 17 permissions", async () => {
expect(await getPermissions("admin")).toHaveLength(17);
});
it("editor has exactly 7 permissions", async () => {