aboutsummaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-05-22 05:47:53 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-05-22 05:47:53 +0000
commit7b02bfca51f95f56a5d12724b80b16019507cce9 (patch)
tree780c7b06b7cbb8ee7e39d113948776416aebae4e /test/notification_test.exs
parenta57e7f3503c485de64c4e001529a6e06a1a35b25 (diff)
parentbf1b221f94a53c90cda832e9bfb6c5fa0e6524f2 (diff)
downloadpleroma-7b02bfca51f95f56a5d12724b80b16019507cce9.tar.gz
Merge branch 'announce-validator' into 'develop'
Announce validator See merge request pleroma/pleroma!2567
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r--test/notification_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs
index 111ff09f4..3a96721fa 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -648,7 +648,7 @@ defmodule Pleroma.NotificationTest do
status: "hey @#{other_user.nickname}!"
})
- {:ok, activity_two, _} = CommonAPI.repeat(activity_one.id, third_user)
+ {:ok, activity_two} = CommonAPI.repeat(activity_one.id, third_user)
{enabled_receivers, _disabled_receivers} =
Notification.get_notified_from_activity(activity_two)
@@ -778,7 +778,7 @@ defmodule Pleroma.NotificationTest do
assert Enum.empty?(Notification.for_user(user))
- {:ok, _, _} = CommonAPI.repeat(activity.id, other_user)
+ {:ok, _} = CommonAPI.repeat(activity.id, other_user)
assert length(Notification.for_user(user)) == 1
@@ -795,7 +795,7 @@ defmodule Pleroma.NotificationTest do
assert Enum.empty?(Notification.for_user(user))
- {:ok, _, _} = CommonAPI.repeat(activity.id, other_user)
+ {:ok, _} = CommonAPI.repeat(activity.id, other_user)
assert length(Notification.for_user(user)) == 1