Add Undo of Follow Activity insertion
This commit is contained in:
parent
a9b3f99d48
commit
28b203d08f
6 changed files with 51 additions and 6 deletions
|
|
@ -41,7 +41,7 @@ defmodule Pleroma.UserTest do
|
|||
followed = insert(:user)
|
||||
user = insert(:user, %{following: [User.ap_followers(followed)]})
|
||||
|
||||
{:ok, user } = User.unfollow(user, followed)
|
||||
{:ok, user, _activity } = User.unfollow(user, followed)
|
||||
|
||||
user = Repo.get(User, user.id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue