summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/app_controller_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-27 14:33:00 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-04-27 14:33:00 +0400
commitf1ca917bb0d733445657e0be92440dedc2f8d3c6 (patch)
tree175db64bc7d9c32bc5c2f2e7b443daa040e4d65c /test/web/mastodon_api/controllers/app_controller_test.exs
parent1b06a27746ccbbdec77b7bc1571783a64ade4431 (diff)
parent01cc93b6873b5c50c0fc54774a3b004bf660e46b (diff)
downloadpleroma-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.exs4
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