use commonAPI in tests
This commit is contained in:
parent
94e336d9d5
commit
58c1391c4d
|
@ -94,7 +94,7 @@ test "clears follow requests when requester is blocked" do
|
|||
followed = insert(:user, %{info: %{locked: true}})
|
||||
follower = insert(:user)
|
||||
|
||||
Pleroma.Web.TwitterAPI.TwitterAPI.follow(follower, %{"user_id" => followed.id})
|
||||
CommonAPI.follow(follower, followed)
|
||||
assert {:ok, [_activity]} = User.get_follow_requests(followed)
|
||||
|
||||
{:ok, _follower} = User.block(followed, follower)
|
||||
|
|
Loading…
Reference in New Issue