diff options
| author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-05-20 04:00:46 +0000 |
|---|---|---|
| committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-05-20 04:00:46 +0000 |
| commit | 5a149e5788978d919020b81f6d454f1ece9b8983 (patch) | |
| tree | 71a245852bfc710d3fe986b30e3a2473db436f31 /test/web/mastodon_api | |
| parent | 48bcb22146ba84c174521147e004fd26c666ca84 (diff) | |
| parent | 47ed9ee4411613cac81235f9751a8ccd0974e927 (diff) | |
| download | pleroma-5a149e5788978d919020b81f6d454f1ece9b8983.tar.gz pleroma-5a149e5788978d919020b81f6d454f1ece9b8983.zip | |
Merge branch 'openapi/pleroma-api/scrobble' into 'develop'
Add OpenAPI spec for PleromaAPI.ScrobbleController
See merge request pleroma/pleroma!2559
Diffstat (limited to 'test/web/mastodon_api')
| -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 |
