summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-27 15:23:33 +0400
committerLain Soykaf <lain@lain.com>2024-05-27 15:23:33 +0400
commitf214c2cdac4a94fae51e7679223df9557c6a1827 (patch)
treee5962ec88dc1846b376c3a8e97b185ce96948e51
parent4d6316b4888154b7dee30796e15585896712364b (diff)
downloadpleroma-f214c2cdac4a94fae51e7679223df9557c6a1827.tar.gz
pleroma-f214c2cdac4a94fae51e7679223df9557c6a1827.zip
NotificationTest: Remove impossible case.
-rw-r--r--test/pleroma/notification_test.exs16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/pleroma/notification_test.exs b/test/pleroma/notification_test.exs
index ecdb32e32..2c582c708 100644
--- a/test/pleroma/notification_test.exs
+++ b/test/pleroma/notification_test.exs
@@ -859,22 +859,6 @@ defmodule Pleroma.NotificationTest do
assert Enum.empty?(Notification.for_user(user))
end
- test "replying to a deleted post without tagging does not generate a notification" do
- user = insert(:user)
- other_user = insert(:user)
-
- {:ok, activity} = CommonAPI.post(user, %{status: "test post"})
- {:ok, _deletion_activity} = CommonAPI.delete(activity.id, user)
-
- {:ok, _reply_activity} =
- CommonAPI.post(other_user, %{
- status: "test reply",
- in_reply_to_status_id: activity.id
- })
-
- assert Enum.empty?(Notification.for_user(user))
- end
-
test "notifications are deleted if a local user is deleted" do
user = insert(:user)
other_user = insert(:user)