summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-21 13:16:21 +0200
committerlain <lain@soykaf.club>2020-05-21 13:16:21 +0200
commit23e248694df988d50e8a07b704a7ac56b8e9b19c (patch)
treebdf606b5e042f2d194ca323c606f7e3e83fcfcd7 /test/notification_test.exs
parentd9d425708e094a428fb05127b97480a122c1c616 (diff)
downloadpleroma-23e248694df988d50e8a07b704a7ac56b8e9b19c.tar.gz
pleroma-23e248694df988d50e8a07b704a7ac56b8e9b19c.zip
Announcements: Fix all tests.
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