Friendica now supports ActivityPub !

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-10-09 16:07:31 +02:00
parent bdaf0b0a3e
commit 708f5fa2e6

View File

@ -56,11 +56,14 @@ defmodule Eventos.Service.WebFingerTest do
end
test "a friendica actor" do
# Hasn't any ActivityPub
# Now with ActivityPub !
actor = "lain@squeet.me"
assert {:ok, %{"subject" => "acct:" <> actor} = data} = WebFinger.finger(actor)
refute Map.has_key?(data, "url")
assert {:ok,
%{
"subject" => "acct:" <> actor,
"url" => "https://squeet.me/profile/lain"
}} = WebFinger.finger(actor)
end
end
end