summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-14 16:32:22 +0000
committerlain <lain@soykaf.club>2020-04-14 16:32:22 +0000
commit4576520461e2e3a1c78133aaf31cb742a2a1a689 (patch)
treebdabe459c11fd9ef2f79402c6a454c3ca04fb341 /test/notification_test.exs
parent3677a1e5785e8a753652debf37b2818e622f9ffd (diff)
downloadpleroma-4576520461e2e3a1c78133aaf31cb742a2a1a689.tar.gz
pleroma-4576520461e2e3a1c78133aaf31cb742a2a1a689.zip
Revert "Merge branch 'issue/1276' into 'develop'"
This reverts merge request !1877
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 f78a47af6..837a9dacd 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