diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-27 14:33:00 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-27 14:33:00 +0400 |
commit | f1ca917bb0d733445657e0be92440dedc2f8d3c6 (patch) | |
tree | 175db64bc7d9c32bc5c2f2e7b443daa040e4d65c /test/web/mastodon_api/controllers/app_controller_test.exs | |
parent | 1b06a27746ccbbdec77b7bc1571783a64ade4431 (diff) | |
parent | 01cc93b6873b5c50c0fc54774a3b004bf660e46b (diff) | |
download | pleroma-f1ca917bb0d733445657e0be92440dedc2f8d3c6.tar.gz pleroma-f1ca917bb0d733445657e0be92440dedc2f8d3c6.zip |
Merge branch 'develop' into openapi/account
Diffstat (limited to 'test/web/mastodon_api/controllers/app_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/app_controller_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/controllers/app_controller_test.exs b/test/web/mastodon_api/controllers/app_controller_test.exs index e7b11d14e..a0b8b126c 100644 --- a/test/web/mastodon_api/controllers/app_controller_test.exs +++ b/test/web/mastodon_api/controllers/app_controller_test.exs @@ -27,7 +27,7 @@ defmodule Pleroma.Web.MastodonAPI.AppControllerTest do "vapid_key" => Push.vapid_config() |> Keyword.get(:public_key) } - assert expected == json_response(conn, 200) + assert expected == json_response_and_validate_schema(conn, 200) end test "creates an oauth app", %{conn: conn} do @@ -55,6 +55,6 @@ defmodule Pleroma.Web.MastodonAPI.AppControllerTest do "vapid_key" => Push.vapid_config() |> Keyword.get(:public_key) } - assert expected == json_response(conn, 200) + assert expected == json_response_and_validate_schema(conn, 200) end end |