aboutsummaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-05-19 16:11:59 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-05-19 16:26:06 +0400
commit6609714d6694058e28ed789dd65eb50ca816c425 (patch)
tree67446272d250798ea6f0560d0491a2c69b09538c /test/web/mastodon_api
parent524d04d9218f8e72bf88ab5e7d4b407452ae40bc (diff)
downloadpleroma-6609714d6694058e28ed789dd65eb50ca816c425.tar.gz
Move Scrobble views to ScrobbleView
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/views/status_view_test.exs10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/web/mastodon_api/views/status_view_test.exs b/test/web/mastodon_api/views/status_view_test.exs
index 5d7adbe29..43e3bdca1 100644
--- a/test/web/mastodon_api/views/status_view_test.exs
+++ b/test/web/mastodon_api/views/status_view_test.exs
@@ -620,14 +620,4 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
assert status.visibility == "list"
end
-
- test "successfully renders a Listen activity (pleroma extension)" do
- listen_activity = insert(:listen)
-
- status = StatusView.render("listen.json", activity: listen_activity)
-
- assert status.length == listen_activity.data["object"]["length"]
- assert status.title == listen_activity.data["object"]["title"]
- assert_schema(status, "Status", Pleroma.Web.ApiSpec.spec())
- end
end