Fix return type of /api/v1/follows
This commit is contained in:
parent
8e94936553
commit
c56d28f96c
3 changed files with 17 additions and 25 deletions
|
|
@ -287,7 +287,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|
|||
|> assign(:user, user)
|
||||
|> post("/api/v1/follows", %{"uri" => other_user.nickname})
|
||||
|
||||
assert %{"id" => id, "following" => true} = json_response(conn, 200)
|
||||
assert other_user = json_response(conn, 200)
|
||||
end
|
||||
|
||||
test "unimplemented block/mute endpoints" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue