Fix return type of /api/v1/follows

This commit is contained in:
eal 2017-10-29 00:07:38 +03:00
commit c56d28f96c
3 changed files with 17 additions and 25 deletions

View file

@ -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