mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
remove hasRoles
This commit is contained in:
@@ -44,6 +44,7 @@ describe('graph.mutations.addCommentTag', () => {
|
||||
Object.entries({
|
||||
'anonymous': undefined,
|
||||
'regular commenter': new UserModel({}),
|
||||
'staff': new UserModel({roles: ['STAFF']}),
|
||||
'banned moderator': new UserModel({roles: ['MODERATOR'], status: 'BANNED'})
|
||||
}).forEach(([ userDescription, user ]) => {
|
||||
it(userDescription, async function () {
|
||||
|
||||
Reference in New Issue
Block a user