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:25 +02:00 committed by GitHub
parent b50896bb45
commit 3c472293ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,7 +457,7 @@ describe('reports query', () => {
expect(errors[0]).toHaveProperty('message', 'Not Authorised!')
})
it('roll "moderator" gets reports', async () => {
it('role "moderator" gets reports', async () => {
const expected = {
// to check 'orderBy: createdAt_desc' is not possible here, because 'createdAt' does not differ
reports: expect.arrayContaining([