Use `json_response_and_validate_schema/2` in tests to validate OpenAPI schema
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 27 Apr 2020 16:46:52 +0000 (20:46 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 27 Apr 2020 16:46:52 +0000 (20:46 +0400)
commit2efc00b3cf5413ae7f8e8411ee1372343ee2618a
treea705f5a88014ff0b4665ca6c3a1529b660b70ffc
parentf1ca917bb0d733445657e0be92440dedc2f8d3c6
Use `json_response_and_validate_schema/2` in tests to validate OpenAPI schema
lib/pleroma/web/api_spec/operations/account_operation.ex
lib/pleroma/web/api_spec/schemas/account.ex
lib/pleroma/web/controller_helper.ex
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
test/support/conn_case.ex
test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
test/web/mastodon_api/controllers/account_controller_test.exs