assert response(conn, 200)
end
-end
-defmodule Pleroma.Web.OStatusMock do
- import Pleroma.Factory
- def handle_incoming(_doc) do
- insert(:note_activity)
+ 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