Check refute User.following?

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-07-08 13:42:01 +02:00
commit 9022d855cd
3 changed files with 6 additions and 4 deletions

View file

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