Add webfinger and basic feed support.
This commit is contained in:
parent
36e883cd4b
commit
d23f3e3cf3
9 changed files with 160 additions and 17 deletions
15
test/web/ostatus/ostatus_controller_test.exs
Normal file
15
test/web/ostatus/ostatus_controller_test.exs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
||||
use Pleroma.Web.ConnCase
|
||||
import Pleroma.Factory
|
||||
alias Pleroma.User
|
||||
|
||||
test "gets a feed", %{conn: conn} do
|
||||
note_activity = insert(:note_activity)
|
||||
user = User.get_cached_by_ap_id(note_activity.data["actor"])
|
||||
|
||||
conn = conn
|
||||
|> get("/users/#{user.nickname}/feed.atom")
|
||||
|
||||
assert response(conn, 200)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue