webfinger: fix finding the XRD uri for statusnet instances
This commit is contained in:
parent
d269c69a0b
commit
75cfd9d34d
4 changed files with 17 additions and 1 deletions
|
|
@ -88,6 +88,12 @@ defmodule Pleroma.Web.WebFingerTest do
|
|||
|
||||
assert template == "https://macgirvin.com/xrd/?uri={uri}"
|
||||
end
|
||||
|
||||
test "it gets the xrd endpoint for statusnet" do
|
||||
{:ok, template} = WebFinger.find_lrdd_template("status.alpicola.com")
|
||||
|
||||
assert template == "http://status.alpicola.com/main/xrd?uri={uri}"
|
||||
end
|
||||
end
|
||||
|
||||
describe "ensure_keys_present" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue