fixed perms issue

This commit is contained in:
Wyatt Johnson
2018-01-10 13:04:56 -07:00
parent acc2e00c54
commit 44648fa901
2 changed files with 4 additions and 4 deletions
@@ -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});