Add spec for AccountController.follow
This commit is contained in:
parent
1b680a98ae
commit
854780c72b
6 changed files with 51 additions and 28 deletions
|
|
@ -669,6 +669,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
|
|||
|
||||
assert %{"id" => id} = json_response(conn, 200)
|
||||
assert id == to_string(other_user.id)
|
||||
assert_schema(json_response(conn, 200), "AccountRelationship", ApiSpec.spec())
|
||||
end
|
||||
|
||||
test "cancelling follow request", %{conn: conn} do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue