mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-24 09:00:29 +00:00
Fix follow test semantics.
This commit is contained in:
parent
2ffc6da207
commit
71f66bd458
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|
||||||
|> assign(:user, user)
|
|> assign(:user, user)
|
||||||
|> post("/api/v1/follows", %{"uri" => other_user.nickname})
|
|> post("/api/v1/follows", %{"uri" => other_user.nickname})
|
||||||
|
|
||||||
assert other_user = json_response(conn, 200)
|
assert %{"id" => id} = json_response(conn, 200)
|
||||||
|
assert id == other_user.id
|
||||||
end
|
end
|
||||||
|
|
||||||
test "unimplemented block/mute endpoints" do
|
test "unimplemented block/mute endpoints" do
|
||||||
|
|
Loading…
Reference in a new issue