mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-19 19:31:19 +00:00
Update backend/src/schema/resolvers/reports.spec.js
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
This commit is contained in:
parent
b50896bb45
commit
3c472293ac
@ -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([
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user