Remove a TODO comment as the tests for poll view were written
This commit is contained in:
parent
2fe3a20638
commit
1fd8e19d76
@ -330,7 +330,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: Add tests for this view
|
|
||||||
def render("poll.json", %{object: object} = opts) do
|
def render("poll.json", %{object: object} = opts) do
|
||||||
{multiple, options} =
|
{multiple, options} =
|
||||||
case object.data do
|
case object.data do
|
||||||
|
Loading…
Reference in New Issue
Block a user