summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2022-03-16 18:38:28 +0100
committermarcin mikołajczak <git@mkljczk.pl>2022-03-16 19:18:15 +0100
commitffe081bf4417ae7efbf24e4eaf0ee65fa2c2d8cf (patch)
tree9af33165fdfeabe30e25810d4f8c0e58ffd212da /test
parent6754d1f27239d3d529a3f667a6a93b267041daf0 (diff)
downloadpleroma-ffe081bf4417ae7efbf24e4eaf0ee65fa2c2d8cf.tar.gz
pleroma-ffe081bf4417ae7efbf24e4eaf0ee65fa2c2d8cf.zip
Use reject_follow_request
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/controllers/account_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
index b9ee173d6..f38ebdd75 100644
--- a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
@@ -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)