mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: drop the automatic_membership_retroactive column from groups model. (#9430)
This commit is contained in:
@@ -15,7 +15,6 @@ acceptance("Admin - User Index", {
|
||||
alias_level: 99,
|
||||
visible: true,
|
||||
automatic_membership_email_domains: "",
|
||||
automatic_membership_retroactive: false,
|
||||
primary_group: false,
|
||||
title: null,
|
||||
grant_trust_level: null,
|
||||
@@ -38,7 +37,9 @@ acceptance("Admin - User Index", {
|
||||
QUnit.test("can edit username", async assert => {
|
||||
pretender.put("/users/sam/preferences/username", () => [
|
||||
200,
|
||||
{ "Content-Type": "application/json" },
|
||||
{
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
{ id: 2, username: "new-sam" }
|
||||
]);
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ acceptance("Group logs", {
|
||||
alias_level: 0,
|
||||
visible: true,
|
||||
automatic_membership_email_domains: "",
|
||||
automatic_membership_retroactive: false,
|
||||
primary_group: true,
|
||||
title: "Team Snorlax",
|
||||
grant_trust_level: null,
|
||||
|
||||
@@ -13,11 +13,6 @@ QUnit.test("As an admin", async assert => {
|
||||
"it should display automatic membership label"
|
||||
);
|
||||
|
||||
assert.ok(
|
||||
find(".groups-form-automatic-membership-retroactive").length === 1,
|
||||
"it should display automatic membership retroactive checkbox"
|
||||
);
|
||||
|
||||
assert.ok(
|
||||
find(".groups-form-primary-group").length === 1,
|
||||
"it should display set as primary group checkbox"
|
||||
|
||||
@@ -17,7 +17,6 @@ acceptance("Group Requests", {
|
||||
messageable_level: 0,
|
||||
visibility_level: 0,
|
||||
automatic_membership_email_domains: "",
|
||||
automatic_membership_retroactive: false,
|
||||
primary_group: false,
|
||||
title: "Macdonald",
|
||||
grant_trust_level: null,
|
||||
|
||||
@@ -30,7 +30,6 @@ acceptance("Search - Full Page", {
|
||||
alias_level: 0,
|
||||
visible: true,
|
||||
automatic_membership_email_domains: null,
|
||||
automatic_membership_retroactive: false,
|
||||
primary_group: false,
|
||||
title: null,
|
||||
grant_trust_level: null,
|
||||
|
||||
Reference in New Issue
Block a user