User: Remove superfluous maybe_follow.
This commit is contained in:
parent
3115b64cfe
commit
076c9ae40e
4 changed files with 10 additions and 23 deletions
|
|
@ -75,7 +75,7 @@ defmodule Pleroma.UserTest do
|
|||
Pleroma.Web.TwitterAPI.TwitterAPI.follow(pending_follower, %{"user_id" => locked.id})
|
||||
Pleroma.Web.TwitterAPI.TwitterAPI.follow(pending_follower, %{"user_id" => locked.id})
|
||||
Pleroma.Web.TwitterAPI.TwitterAPI.follow(accepted_follower, %{"user_id" => locked.id})
|
||||
User.maybe_follow(accepted_follower, locked)
|
||||
User.follow(accepted_follower, locked)
|
||||
|
||||
assert {:ok, [activity]} = User.get_follow_requests(locked)
|
||||
assert activity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue