diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-28 14:13:53 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-28 14:13:53 +0400 |
commit | 764b4f95a8e9e751d5a6136fc2be44d61a082443 (patch) | |
tree | fbeea45e76ca9053a19dc41e6b02158c222821bf /test/web/mastodon_api/controllers/app_controller_test.exs | |
parent | c56c0a3d23929f166f4d95e5c6e96bbf0df8a35e (diff) | |
parent | 9994768312ede572c4ddd6beda7027b0a2baddce (diff) | |
download | pleroma-764b4f95a8e9e751d5a6136fc2be44d61a082443.tar.gz pleroma-764b4f95a8e9e751d5a6136fc2be44d61a082443.zip |
Merge branch 'develop' into global-status-expiration
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 |