summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/app_controller_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-27 12:07:08 +0200
committerlain <lain@soykaf.club>2020-04-27 12:07:08 +0200
commitc86143ed73ba5b2d8d373607ca706f1a428f3fe4 (patch)
treee86641043e676803ffc27a57ce23c29a71347063 /test/web/mastodon_api/controllers/app_controller_test.exs
parenta51cdafc0192b66ce75659b424a690f52c9b2a49 (diff)
parent01cc93b6873b5c50c0fc54774a3b004bf660e46b (diff)
downloadpleroma-c86143ed73ba5b2d8d373607ca706f1a428f3fe4.tar.gz
pleroma-c86143ed73ba5b2d8d373607ca706f1a428f3fe4.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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