Use reject_follow_request
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
6754d1f272
commit
ffe081bf44
2 changed files with 6 additions and 3 deletions
|
|
@ -1985,7 +1985,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
|
|||
|
||||
CommonAPI.follow(other_user, user)
|
||||
|
||||
assert %{"id" => _id, "followed_by" => false} =
|
||||
assert %{"id" => other_user_id, "followed_by" => false} =
|
||||
conn
|
||||
|> post("/api/v1/accounts/#{other_user_id}/remove_from_followers")
|
||||
|> json_response_and_validate_schema(200)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue