Update backend/src/graphql/resolver/AdminResolver.test.ts

This commit is contained in:
Moriz Wahl 2022-04-28 16:19:56 +02:00 committed by GitHub
parent bd6e5a2679
commit 82044da043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 } }),