tests: simplify object fetching and containment tests

This commit is contained in:
Ariadne Conill 2019-10-18 00:51:53 +00:00
commit af9aa8e358
2 changed files with 4 additions and 19 deletions

View file

@ -65,7 +65,7 @@ defmodule Pleroma.Object.ContainmentTest do
assert capture_log(fn ->
{:error, _} = User.get_or_fetch_by_ap_id("https://n1u.moe/users/rye")
end) =~
"[error] Could not decode user at fetch https://n1u.moe/users/rye, {:error, :error}"
"[error] Could not decode user at fetch https://n1u.moe/users/rye"
end
end