Mix format
This commit is contained in:
parent
142ebc54d2
commit
a76cf80c6d
|
@ -166,7 +166,7 @@ defmodule Pleroma.Object.FetcherTest do
|
||||||
Instances.set_consistently_unreachable(id)
|
Instances.set_consistently_unreachable(id)
|
||||||
refute Instances.reachable?(id)
|
refute Instances.reachable?(id)
|
||||||
|
|
||||||
{:ok, object} =
|
{:ok, _object} =
|
||||||
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
|
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
|
||||||
|
|
||||||
assert Instances.reachable?(id)
|
assert Instances.reachable?(id)
|
||||||
|
|
|
@ -984,7 +984,8 @@ defmodule Pleroma.UserTest do
|
||||||
%Tesla.Env{status: 404}
|
%Tesla.Env{status: 404}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
assert {:ok, %User{also_known_as: []}} = User.get_or_fetch_by_ap_id("https://mbp.example.com/")
|
assert {:ok, %User{also_known_as: []}} =
|
||||||
|
User.get_or_fetch_by_ap_id("https://mbp.example.com/")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue