mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
fixed perms issue
This commit is contained in:
@@ -27,8 +27,8 @@ describe('graph.mutations.updateSettings', () => {
|
||||
|
||||
[
|
||||
{error: 'NOT_AUTHORIZED', role: 'COMMENTER'},
|
||||
{error: 'NOT_AUTHORIZED', role: 'MODERATOR'},
|
||||
{role: 'ADMIN'},
|
||||
{role: 'MODERATOR'},
|
||||
].forEach(({role, error}) => {
|
||||
it(`role = ${role}`, async () => {
|
||||
const user = new UserModel({role});
|
||||
|
||||
Reference in New Issue
Block a user