mirror of
https://github.com/outline/outline.git
synced 2026-12-05 10:45:07 +03:00
test
This commit is contained in:
1 parent
a3eab505f0
commit
3d841a5cc2
1 file changed
+2
-2
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user