mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update backend/src/schema/resolvers/reports.spec.js
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
This commit is contained in:
parent
d5e1a67e0c
commit
b50896bb45
@ -448,7 +448,7 @@ describe('reports query', () => {
|
||||
expect(errors[0]).toHaveProperty('message', 'Not Authorised!')
|
||||
})
|
||||
|
||||
it('roll "user" gets no reports', async () => {
|
||||
it('role "user" gets no reports', async () => {
|
||||
authenticatedUser = await user.toJson()
|
||||
const { data, errors } = await query({ query: reportsQuery })
|
||||
expect(data).toEqual({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user