[#2301] Proper handling of User.is_discoverable: users appear in in-service search but are hidden from external services like search bots.
This commit is contained in:
parent
fcad3e716a
commit
e164c37139
13 changed files with 16 additions and 66 deletions
|
|
@ -203,6 +203,7 @@ defmodule Pleroma.Web.AdminAPI.SearchTest do
|
|||
assert count == 1
|
||||
end
|
||||
|
||||
# Note: as in Mastodon, `is_discoverable` doesn't anyhow relate to user searchability
|
||||
test "it returns non-discoverable users" do
|
||||
insert(:user)
|
||||
insert(:user, is_discoverable: false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue