Add basic webfinger.

This commit is contained in:
Roger Braun 2017-04-17 13:44:41 +02:00
commit ce6cc84a4a
8 changed files with 195 additions and 4 deletions

View file

@ -0,0 +1,11 @@
defmodule Pleroma.Web.WebFingerTest do
use Pleroma.DataCase
describe "host meta" do
test "returns a link to the xml lrdd" do
host_info = Pleroma.Web.WebFinger.host_meta
assert String.contains?(host_info, Pleroma.Web.base_url)
end
end
end