Add spec for AccountController.lists
This commit is contained in:
parent
e105cc12b6
commit
1b680a98ae
5 changed files with 61 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue