mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Do not show unconfirmed users in search results
This commit is contained in:
@@ -32,6 +32,13 @@ Fabricator(:walter_white, from: :user) do
|
||||
password 'letscook'
|
||||
end
|
||||
|
||||
Fabricator(:inactive_user, from: :user) do
|
||||
name 'Inactive User'
|
||||
username 'inactive_user'
|
||||
email 'inactive@idontexist.com'
|
||||
active false
|
||||
end
|
||||
|
||||
Fabricator(:moderator, from: :user) do
|
||||
name { sequence(:name) {|i| "A#{i} Moderator"} }
|
||||
username { sequence(:username) {|i| "moderator#{i}"} }
|
||||
|
||||
Reference in New Issue
Block a user