diff options
author | lain <lain@soykaf.club> | 2020-05-20 12:08:28 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-20 12:08:28 +0000 |
commit | 265746b21f5a58f49efbdbe9d9eecd697781b93b (patch) | |
tree | 8bbcf2cd9fae7e67f2195508c0281fb02a16abcd /test/web/api_spec/schema_examples_test.exs | |
parent | 423ea497bb2a7225f4f0d0e1ebff93466b3ec124 (diff) | |
parent | e4c720f14c0760ff5863c58a2ed1aafb9bf1bdc5 (diff) | |
download | pleroma-265746b21f5a58f49efbdbe9d9eecd697781b93b.tar.gz |
Merge branch 'openapi/pleroma-api/emojis' into 'develop'
Add OpenAPI spec for EmojiPackController
See merge request pleroma/pleroma!2549
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) |