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

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
Wolfgang Huß 2022-06-20 12:11:38 +02:00 committed by GitHub
parent f1a23fe9b7
commit d9becacb4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ describe('AdminResolver', () => {
})
describe('user has already role to be set', () => {
describe('is admin', () => {
describe('to admin', () => {
it('throws an error', async () => {
await mutate({
mutation: setUserRole,