formatted
This commit is contained in:
parent
ab6ebbae67
commit
4c5ee4c62b
|
@ -762,7 +762,9 @@ test "finds a user whose name is nil" do
|
||||||
user_two = insert(:user, %{name: nil, nickname: "lain@pleroma.soykaf.com"})
|
user_two = insert(:user, %{name: nil, nickname: "lain@pleroma.soykaf.com"})
|
||||||
|
|
||||||
assert user_two ==
|
assert user_two ==
|
||||||
User.search("lain@pleroma.soykaf.com") |> List.first() |> Map.put(:search_distance, nil)
|
User.search("lain@pleroma.soykaf.com")
|
||||||
|
|> List.first()
|
||||||
|
|> Map.put(:search_distance, nil)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue