FEATURE - allow Group Moderators to edit category description (#10292)

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
This commit is contained in:
jbrw
2020-07-23 09:50:00 -04:00
committed by GitHub
parent 61d3640643
commit 2aec92d0b4
8 changed files with 112 additions and 2 deletions

View File

@ -7,6 +7,7 @@ QUnit.test("Enter as a anon user", async assert => {
await click(".show-more-actions");
assert.ok(exists("#topic"), "The topic was rendered");
assert.ok(exists("#post_1 .post-controls .edit"), "The edit button was not rendered");
assert.ok(!exists(".show-post-admin-menu"), "The wrench button was not rendered");
});
@ -17,5 +18,6 @@ QUnit.test("Enter as a user with group moderator permissions", async assert => {
await click(".show-more-actions");
await click(".show-post-admin-menu");
assert.ok(exists("#post_1 .post-controls .edit"), "The edit button was rendered");
assert.ok(exists(".add-notice"), "The add notice button was rendered");
});