summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-04-14 20:10:02 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-04-14 20:10:02 +0300
commit0cda80f266c03557b47112e52bfe748655b4321c (patch)
tree3066cf037c65cd8a19aa0228cb75ec6acc94d870 /test/notification_test.exs
parent650853fc895fb2e21eac347e056eab98b842a3b7 (diff)
parent6c3e09fbce823fe1ddef96a4a1ec54d67ceeec50 (diff)
downloadpleroma-0cda80f266c03557b47112e52bfe748655b4321c.tar.gz
pleroma-0cda80f266c03557b47112e52bfe748655b4321c.zip
Merge remote-tracking branch 'remotes/origin/develop' into 1364-no-pushes-from-blocked-domains-users
# Conflicts: # lib/pleroma/notification.ex
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r--test/notification_test.exs13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs
index b668628ee..4e5559bb1 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -45,9 +45,6 @@ defmodule Pleroma.NotificationTest do
assert notified_ids == [other_user.id, third_user.id]
assert notification.activity_id == activity.id
assert other_notification.activity_id == activity.id
-
- assert [%Pleroma.Marker{unread_count: 2}] =
- Pleroma.Marker.get_markers(other_user, ["notifications"])
end
test "it creates a notification for subscribed users" do
@@ -413,16 +410,6 @@ defmodule Pleroma.NotificationTest do
assert n1.seen == true
assert n2.seen == true
assert n3.seen == false
-
- assert %Pleroma.Marker{} =
- m =
- Pleroma.Repo.get_by(
- Pleroma.Marker,
- user_id: other_user.id,
- timeline: "notifications"
- )
-
- assert m.last_read_id == to_string(n2.id)
end
end