Friendica now supports ActivityPub !
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
ad9c9922e4
commit
e454d0d470
|
@ -56,11 +56,14 @@ defmodule Eventos.Service.WebFingerTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "a friendica actor" do
|
test "a friendica actor" do
|
||||||
# Hasn't any ActivityPub
|
# Now with ActivityPub !
|
||||||
actor = "lain@squeet.me"
|
actor = "lain@squeet.me"
|
||||||
|
|
||||||
assert {:ok, %{"subject" => "acct:" <> actor} = data} = WebFinger.finger(actor)
|
assert {:ok,
|
||||||
refute Map.has_key?(data, "url")
|
%{
|
||||||
|
"subject" => "acct:" <> actor,
|
||||||
|
"url" => "https://squeet.me/profile/lain"
|
||||||
|
}} = WebFinger.finger(actor)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue