mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 21:59:34 +08:00
DEV: prevents staff computed property to be overridden (#7931)
This commit is contained in:
@ -34,7 +34,7 @@ QUnit.test("As an admin", async assert => {
|
||||
});
|
||||
|
||||
QUnit.test("As a group owner", async assert => {
|
||||
updateCurrentUser({ staff: false, admin: false });
|
||||
updateCurrentUser({ moderator: false, admin: false });
|
||||
|
||||
await visit("/g/discourse/manage/profile");
|
||||
|
||||
|
Reference in New Issue
Block a user