aboutsummaryrefslogtreecommitdiff
path: root/test/web/api_spec/schema_examples_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-21 15:00:05 +0200
committerlain <lain@soykaf.club>2020-05-21 15:00:05 +0200
commit814c3e51714b2a7de30ed751a6aef361fc712807 (patch)
treee0db564ad32b79a357095a7b1131787b23b06fb9 /test/web/api_spec/schema_examples_test.exs
parentd19c7167704308df093f060082639c0a15996af7 (diff)
parent42b06d78dfc9cec2a31bcb4676cc0135863ca97d (diff)
downloadpleroma-814c3e51714b2a7de30ed751a6aef361fc712807.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'test/web/api_spec/schema_examples_test.exs')
-rw-r--r--test/web/api_spec/schema_examples_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/api_spec/schema_examples_test.exs b/test/web/api_spec/schema_examples_test.exs
index 88b6f07cb..f00e834fc 100644
--- a/test/web/api_spec/schema_examples_test.exs
+++ b/test/web/api_spec/schema_examples_test.exs
@@ -28,7 +28,7 @@ defmodule Pleroma.Web.ApiSpec.SchemaExamplesTest do
end
end
- for {status, response} <- operation.responses do
+ for {status, response} <- operation.responses, is_map(response.content[@content_type]) do
describe "#{operation.operationId} - #{status} Response" do
@schema resolve_schema(response.content[@content_type].schema)