Add spec for AccountController.lists

This commit is contained in:
Egor Kislitsyn 2020-04-08 23:51:46 +04:00
commit 1b680a98ae
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
5 changed files with 61 additions and 2 deletions

View file

@ -1051,6 +1051,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
|> json_response(200)
assert res == [%{"id" => to_string(list.id), "title" => "Test List"}]
assert_schema(res, "ListsResponse", ApiSpec.spec())
end
end