Format
This commit is contained in:
parent
aaa9fed1ca
commit
a25c1313ae
@ -901,7 +901,8 @@ defmodule Pleroma.UserTest do
|
|||||||
{:ok, follower} = User.follow(follower, u1)
|
{:ok, follower} = User.follow(follower, u1)
|
||||||
{:ok, u1} = User.follow(u1, friend)
|
{:ok, u1} = User.follow(u1, friend)
|
||||||
|
|
||||||
assert [friend.id, follower.id, u2.id] == Enum.map(User.search("doe", resolve: false, for_user: u1), & &1.id)
|
assert [friend.id, follower.id, u2.id] ==
|
||||||
|
Enum.map(User.search("doe", resolve: false, for_user: u1), & &1.id)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "finds a user whose name is nil" do
|
test "finds a user whose name is nil" do
|
||||||
|
Loading…
Reference in New Issue
Block a user