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
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
f1a23fe9b7
commit
d9becacb4c
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user