DEV: prevents staff computed property to be overridden (#7931)

This commit is contained in:
Joffrey JAFFEUX
2019-07-24 22:01:08 +02:00
committed by GitHub
parent cc46de8f46
commit c1d2fb115c
19 changed files with 47 additions and 42 deletions

View File

@ -42,7 +42,7 @@ QUnit.test("As an admin", async assert => {
});
QUnit.test("As a group owner", async assert => {
updateCurrentUser({ admin: false, staff: false });
updateCurrentUser({ moderator: false, admin: false });
await visit("/g/discourse/manage/interaction");
assert.equal(