Fix follow test semantics.
This commit is contained in:
parent
2ffc6da207
commit
71f66bd458
@ -287,7 +287,8 @@ test "following / unfollowing a user", %{conn: conn} do
|
||||
|> assign(:user, user)
|
||||
|> 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
|
||||
|
||||
test "unimplemented block/mute endpoints" do
|
||||
|
Loading…
Reference in New Issue
Block a user