mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Approve suspect users is now true by default. The suspect users list was removed (#9151)
This commit is contained in:
@@ -59,7 +59,7 @@ QUnit.test("switching tabs", async assert => {
|
||||
const activeUser = "eviltrout";
|
||||
const suspectUser = "sam";
|
||||
const activeTitle = I18n.t("admin.users.titles.active");
|
||||
const suspectTitle = I18n.t("admin.users.titles.suspect");
|
||||
const suspectTitle = I18n.t("admin.users.titles.new");
|
||||
|
||||
await visit("/admin/users/list/active");
|
||||
|
||||
@@ -70,7 +70,7 @@ QUnit.test("switching tabs", async assert => {
|
||||
.includes(activeUser)
|
||||
);
|
||||
|
||||
await click('a[href="/admin/users/list/suspect"]');
|
||||
await click('a[href="/admin/users/list/new"]');
|
||||
|
||||
assert.equal(find(".admin-title h2").text(), suspectTitle);
|
||||
assert.ok(
|
||||
|
||||
@@ -637,7 +637,7 @@ export function applyDefaultHandlers(pretender) {
|
||||
return response(200, store);
|
||||
});
|
||||
|
||||
pretender.get("/admin/users/list/suspect.json", () => {
|
||||
pretender.get("/admin/users/list/new.json", () => {
|
||||
return response(200, [
|
||||
{
|
||||
id: 2,
|
||||
|
||||
Reference in New Issue
Block a user