diff --git a/test/eventos/service/web_finger/web_finger_test.exs b/test/eventos/service/web_finger/web_finger_test.exs index 919c3641f..f8154ee66 100644 --- a/test/eventos/service/web_finger/web_finger_test.exs +++ b/test/eventos/service/web_finger/web_finger_test.exs @@ -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