mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update backend/src/graphql/resolver/AdminResolver.test.ts
This commit is contained in:
parent
bd6e5a2679
commit
82044da043
@ -106,7 +106,7 @@ describe('AdminResolver', () => {
|
|||||||
resetToken()
|
resetToken()
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('user to be delete does not exist', () => {
|
describe('user to be deleted does not exist', () => {
|
||||||
it('throws an error', async () => {
|
it('throws an error', async () => {
|
||||||
await expect(
|
await expect(
|
||||||
mutate({ mutation: deleteUser, variables: { userId: admin.id + 1 } }),
|
mutate({ mutation: deleteUser, variables: { userId: admin.id + 1 } }),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user