1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Fix typing.

This commit is contained in:
Sam Rose 2024-03-01 17:38:21 +00:00
parent 37a10857df
commit 90f981724d
No known key found for this signature in database

View file

@ -188,7 +188,7 @@ describe("/permission", () => {
await config.publish()
const res = await config.api.viewV2.publicSearch(view.id)
expect(res.body.rows[0]._id).toEqual(row._id)
expect(res.rows[0]._id).toEqual(row._id)
})
it("should not be able to access the view data when the table is not public and there are no view permissions overrides", async () => {
@ -238,7 +238,7 @@ describe("/permission", () => {
await config.publish()
const res = await config.api.viewV2.publicSearch(view.id)
expect(res.body.rows[0]._id).toEqual(row._id)
expect(res.rows[0]._id).toEqual(row._id)
})
it("shouldn't allow writing from a public user", async () => {