mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test: update permission count tests for new enterprise permissions
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user