diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-05-20 20:27:03 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-05-20 20:27:03 +0300 |
commit | 6fd4f58ead9189697ed004b6ca593d5ba746898f (patch) | |
tree | 447bf02a1bc76941686e2017b6b8bed4494737d4 /test/web/api_spec/schema_examples_test.exs | |
parent | 1871a5ddb4a803ebe4fae6943a9b9c94f1f9c1a8 (diff) | |
parent | 265746b21f5a58f49efbdbe9d9eecd697781b93b (diff) | |
download | pleroma-6fd4f58ead9189697ed004b6ca593d5ba746898f.tar.gz pleroma-6fd4f58ead9189697ed004b6ca593d5ba746898f.zip |
Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy
Diffstat (limited to 'test/web/api_spec/schema_examples_test.exs')
-rw-r--r-- | test/web/api_spec/schema_examples_test.exs | 2 |
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) |