Update test name.

This commit is contained in:
mike12345567 2024-10-15 17:54:34 +01:00
parent 9fceef0fc2
commit 171ffd8aa3
1 changed files with 3 additions and 3 deletions

View File

@ -92,15 +92,15 @@ describe("/screens", () => {
}) })
} }
it("should be able to fetch only screen1 with role1", async () => { it("should be able to fetch basic and screen1 with role1", async () => {
await checkScreens(role1._id!, [screen._id!, screen1._id!]) await checkScreens(role1._id!, [screen._id!, screen1._id!])
}) })
it("should be able to fetch only screen2 with role2", async () => { it("should be able to fetch basic and screen2 with role2", async () => {
await checkScreens(role2._id!, [screen._id!, screen2._id!]) await checkScreens(role2._id!, [screen._id!, screen2._id!])
}) })
it("should be able to fetch all three screens with multi-inheritance role", async () => { it("should be able to fetch basic, screen1 and screen2 with multi-inheritance role", async () => {
await checkScreens(multiRole._id!, [ await checkScreens(multiRole._id!, [
screen._id!, screen._id!,
screen1._id!, screen1._id!,