mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
FEATURE: allow group membership to unmute categories and tags
For sites that are configured to mute some or all categories and tags for users by default, groups can now be configured to set members' notification level to normal from the group manage UI.
This commit is contained in:
@ -16,7 +16,7 @@ QUnit.test("As an admin", async assert => {
|
||||
await visit("/g/discourse/manage/categories");
|
||||
|
||||
assert.ok(
|
||||
find(".groups-notifications-form .category-selector").length === 4,
|
||||
find(".groups-notifications-form .category-selector").length === 5,
|
||||
"it should display category inputs"
|
||||
);
|
||||
});
|
||||
@ -27,7 +27,7 @@ QUnit.test("As a group owner", async assert => {
|
||||
await visit("/g/discourse/manage/categories");
|
||||
|
||||
assert.ok(
|
||||
find(".groups-notifications-form .category-selector").length === 4,
|
||||
find(".groups-notifications-form .category-selector").length === 5,
|
||||
"it should display category inputs"
|
||||
);
|
||||
});
|
||||
|
@ -16,7 +16,7 @@ QUnit.test("As an admin", async assert => {
|
||||
await visit("/g/discourse/manage/tags");
|
||||
|
||||
assert.ok(
|
||||
find(".groups-notifications-form .tag-chooser").length === 4,
|
||||
find(".groups-notifications-form .tag-chooser").length === 5,
|
||||
"it should display tag inputs"
|
||||
);
|
||||
});
|
||||
@ -27,7 +27,7 @@ QUnit.test("As a group owner", async assert => {
|
||||
await visit("/g/discourse/manage/tags");
|
||||
|
||||
assert.ok(
|
||||
find(".groups-notifications-form .tag-chooser").length === 4,
|
||||
find(".groups-notifications-form .tag-chooser").length === 5,
|
||||
"it should display tag inputs"
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user