Add Undo of Follow Activity insertion

This commit is contained in:
dtluna 2017-04-21 19:54:21 +03:00
commit 28b203d08f
6 changed files with 51 additions and 6 deletions

View file

@ -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)