Return xml notice at /notice path.
This commit is contained in:
parent
89a8dc7485
commit
c680ae581d
3 changed files with 24 additions and 0 deletions
|
|
@ -73,6 +73,16 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
|||
|
||||
assert response(conn, 200)
|
||||
end
|
||||
|
||||
test "gets a notice", %{conn: conn} do
|
||||
note_activity = insert(:note_activity)
|
||||
url = "/notice/#{note_activity.id}"
|
||||
|
||||
conn = conn
|
||||
|> get(url)
|
||||
|
||||
assert response(conn, 200)
|
||||
end
|
||||
end
|
||||
|
||||
defmodule Pleroma.Web.OStatusMock do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue