Undoing: Move undoing likes to the pipeline everywhere.

This commit is contained in:
lain 2020-05-05 15:08:41 +02:00
commit a3071f0231
10 changed files with 75 additions and 105 deletions

View file

@ -724,7 +724,7 @@ defmodule Pleroma.NotificationTest do
assert length(Notification.for_user(user)) == 1
{:ok, _, _, _} = CommonAPI.unfavorite(activity.id, other_user)
{:ok, _} = CommonAPI.unfavorite(activity.id, other_user)
assert Enum.empty?(Notification.for_user(user))
end