diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-02-16 23:37:16 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-03-10 03:53:54 +0100 |
commit | 2bfd727a715946225e41ec1b5419d4dcd29c872e (patch) | |
tree | fe6aaa660ace0e06067a7ca1d12ec67fcaba139a /test | |
parent | 989cda650918699b703974ff6a844ea2081c86b9 (diff) | |
download | pleroma-2bfd727a715946225e41ec1b5419d4dcd29c872e.tar.gz |
OpenAPI: MastodonAPI Media Controller
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/media_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs index 6c8f984d5..39d7f99f6 100644 --- a/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs @@ -140,7 +140,7 @@ defmodule Pleroma.Web.MastodonAPI.MediaControllerTest do conn |> get("/api/v1/media/#{object.id}") - |> json_response(403) + |> json_response_and_validate_schema(403) end end end |