diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-05-01 06:21:59 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-05-01 06:21:59 +0300 |
commit | a92c713d9c761563c72d0f660574878aa569249a (patch) | |
tree | ce88697749dbe26331b255883b4fa9631002e8b4 /test/web/mastodon_api/controllers/app_controller_test.exs | |
parent | 270c3fe446a374202b6d64ce487f7df29ecb1c14 (diff) | |
parent | 0dd863f8f53d30d37e35d4ec2c4e34d09a266a85 (diff) | |
download | pleroma-a92c713d9c761563c72d0f660574878aa569249a.tar.gz pleroma-a92c713d9c761563c72d0f660574878aa569249a.zip |
Merge branch 'develop' into issue/1276-2
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 |