mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix: lint
This commit is contained in:
parent
6d856a3edc
commit
1b268b4891
@ -6,8 +6,6 @@ import { createTestClient } from 'apollo-server-testing'
|
||||
|
||||
const categoryIds = ['cat9']
|
||||
let user
|
||||
let anotherUser
|
||||
let moderator
|
||||
let admin
|
||||
let authenticatedUser
|
||||
|
||||
@ -290,8 +288,6 @@ describe('Delete a User as admin', () => {
|
||||
describe('authenticated as Admin', () => {
|
||||
beforeEach(async () => {
|
||||
admin = await Factory.build(
|
||||
|
||||
|
||||
'user',
|
||||
{
|
||||
role: 'admin',
|
||||
@ -457,7 +453,6 @@ describe('Delete a User as admin', () => {
|
||||
await expect(neode.all('SocialMedia')).resolves.toHaveLength(1)
|
||||
await mutate({ mutation: deleteUserMutation, variables })
|
||||
await expect(neode.all('SocialMedia')).resolves.toHaveLength(0)
|
||||
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user