Update backend/src/schema/resolvers/reports.spec.js

Co-Authored-By: mattwr18 <mattwr18@gmail.com>
This commit is contained in:
Wolfgang Huß 2019-10-14 15:22:07 +02:00 committed by GitHub
parent d5e1a67e0c
commit b50896bb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({