mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 03:35:02 +00:00
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 @@ defmodule Pleroma.UserTest 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