aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-13 10:34:04 +0000
committerlain <lain@soykaf.club>2020-05-13 10:34:04 +0000
commit6706cdce65f8b2dda55380dbfdad5e41e600af2d (patch)
treedae71c58f9a8e9b6e6540bc0c346064fdb68247d /test
parent156c8a508846bd6d4e55f666c4ecc6f0129ac5fc (diff)
parentbcadbf964a56c071b2a3b5a5a95c419a467e5e1e (diff)
downloadpleroma-6706cdce65f8b2dda55380dbfdad5e41e600af2d.tar.gz
Merge branch 'openapi/suggestions' into 'develop'
Add OpenAPI spec for SuggestionController See merge request pleroma/pleroma!2525
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/controllers/suggestion_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/suggestion_controller_test.exs b/test/web/mastodon_api/controllers/suggestion_controller_test.exs
index f120bd0cd..7f08e187c 100644
--- a/test/web/mastodon_api/controllers/suggestion_controller_test.exs
+++ b/test/web/mastodon_api/controllers/suggestion_controller_test.exs
@@ -11,7 +11,7 @@ defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
res =
conn
|> get("/api/v1/suggestions")
- |> json_response(200)
+ |> json_response_and_validate_schema(200)
assert res == []
end