projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe3a20
)
Remove a TODO comment as the tests for poll view were written
author
rinpatch
<rinpatch@sdf.org>
Sun, 2 Jun 2019 20:46:17 +0000
(23:46 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Sun, 2 Jun 2019 20:46:17 +0000
(23:46 +0300)
lib/pleroma/web/mastodon_api/views/status_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/views/status_view.ex
b/lib/pleroma/web/mastodon_api/views/status_view.ex
index 7eea0122b6727294f64e4f3e9e21ff1f92dffd09..6836d331a7ae89c5d2e58102f68ae55a26c5f698 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/status_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/status_view.ex
@@
-330,7
+330,6
@@
defmodule Pleroma.Web.MastodonAPI.StatusView do
}
end
- # TODO: Add tests for this view
def render("poll.json", %{object: object} = opts) do
{multiple, options} =
case object.data do