This commit is contained in:
Tom Moor committed 2024-12-24 19:21:32 +00:00
1 parent a3eab505f0
commit 3d841a5cc2
1 file changed
+2 -2
+2 -2
View File
@@ -355,7 +355,7 @@ describe("read document", () => {
});
describe("read_write document", () => {
for (const role of Object.values(UserRole)) {
for (const role of [UserRole.Guest, UserRole.Admin, UserRole.Member]) {
it(`should allow write permissions for ${role}`, async () => {
const team = await buildTeam();
const user = await buildUser({ teamId: team.id, role });
@@ -394,7 +394,7 @@ describe("read_write document", () => {
});
describe("manage document", () => {
for (const role of Object.values(UserRole)) {
for (const role of [UserRole.Guest, UserRole.Admin, UserRole.Member]) {
it(`should allow write permissions, user management, and sub-document creation for ${role}`, async () => {
const team = await buildTeam();
const user = await buildUser({