Fixing test case.

This commit is contained in:
mike12345567 2022-07-15 17:45:35 +01:00
parent c525721854
commit b7894d7f9e
1 changed files with 2 additions and 1 deletions

View File

@ -37,9 +37,10 @@ describe("/permission", () => {
.expect("Content-Type", /json/)
.expect(200)
expect(res.body).toBeDefined()
expect(res.body.length).toEqual(2)
expect(res.body.length).toEqual(3)
expect(res.body).toContain("read")
expect(res.body).toContain("write")
expect(res.body).toContain("execute")
})
})