Add basic webfinger.
This commit is contained in:
parent
6a0e69a8a3
commit
ce6cc84a4a
8 changed files with 195 additions and 4 deletions
11
test/web/web_finger/web_finger_test.exs
Normal file
11
test/web/web_finger/web_finger_test.exs
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue