Check refute User.following?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
ffe081bf44
commit
9022d855cd
3 changed files with 6 additions and 4 deletions
|
|
@ -1989,6 +1989,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
|
|||
conn
|
||||
|> post("/api/v1/accounts/#{other_user_id}/remove_from_followers")
|
||||
|> json_response_and_validate_schema(200)
|
||||
|
||||
refute User.following?(other_user, user)
|
||||
end
|
||||
|
||||
test "removing user from followers errors", %{user: user, conn: conn} do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue