forked from AkkomaGang/akkoma
use commonAPI in tests
This commit is contained in:
parent
94e336d9d5
commit
58c1391c4d
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ test "clears follow requests when requester is blocked" do
|
||||||
followed = insert(:user, %{info: %{locked: true}})
|
followed = insert(:user, %{info: %{locked: true}})
|
||||||
follower = insert(:user)
|
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)
|
assert {:ok, [_activity]} = User.get_follow_requests(followed)
|
||||||
|
|
||||||
{:ok, _follower} = User.block(followed, follower)
|
{:ok, _follower} = User.block(followed, follower)
|
||||||
|
|
Loading…
Reference in a new issue