This commit is contained in:
Maxim Filippov 2019-03-01 21:07:05 +03:00
parent aaa9fed1ca
commit a25c1313ae
1 changed files with 2 additions and 1 deletions

View File

@ -901,7 +901,8 @@ test "finds users, boosting ranks of friends and followers" do
{:ok, follower} = User.follow(follower, u1)
{: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
test "finds a user whose name is nil" do