summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-05-07 14:28:10 +0000
committerrinpatch <rinpatch@sdf.org>2020-05-07 14:28:10 +0000
commitbef08b85e5e1e25b65851938d6152bf0c170af03 (patch)
treec40fae753b4791bf1feaa98b33822221db8f2a59 /test/notification_test.exs
parent516ff945cedbfae774f4c8272264a4cf0e453130 (diff)
parentd11eea62b139ce16d7dffbd574947b2550df238f (diff)
downloadpleroma-bef08b85e5e1e25b65851938d6152bf0c170af03.tar.gz
pleroma-bef08b85e5e1e25b65851938d6152bf0c170af03.zip
Merge branch 'feature/undo-validator-reduced' into 'develop'
Move Undo (except undo follow) to the common pipeline See merge request pleroma/pleroma!2489
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r--test/notification_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs
index 5c85f3368..7f359711f 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -728,7 +728,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
@@ -762,7 +762,7 @@ defmodule Pleroma.NotificationTest do
assert length(Notification.for_user(user)) == 1
- {:ok, _, _} = CommonAPI.unrepeat(activity.id, other_user)
+ {:ok, _} = CommonAPI.unrepeat(activity.id, other_user)
assert Enum.empty?(Notification.for_user(user))
end