diff options
| author | lain <lain@soykaf.club> | 2020-05-20 14:02:40 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-05-20 14:02:40 +0200 |
| commit | c7cdc553ff9bd7a068274d9b4b71008d9df04723 (patch) | |
| tree | 7b66d6b01ea9d0e82ec2b594e4549397230ce145 /test/web/mastodon_api/views | |
| parent | 0d5bce018df9c99c771daaaa1de3ab0efc0cba5c (diff) | |
| parent | 423ea497bb2a7225f4f0d0e1ebff93466b3ec124 (diff) | |
| download | pleroma-c7cdc553ff9bd7a068274d9b4b71008d9df04723.tar.gz pleroma-c7cdc553ff9bd7a068274d9b4b71008d9df04723.zip | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into announce-validator
Diffstat (limited to 'test/web/mastodon_api/views')
| -rw-r--r-- | test/web/mastodon_api/views/status_view_test.exs | 10 |
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 |
