summaryrefslogtreecommitdiff
path: root/test/web
diff options
context:
space:
mode:
authorSergey Suprunenko <suprunenko.s@gmail.com>2020-08-15 15:27:41 +0200
committerSergey Suprunenko <suprunenko.s@gmail.com>2020-08-15 15:27:41 +0200
commit0865f36965f1583085af3a424dbbc89de724fd33 (patch)
treef009becfbcd1e4a698d07c5d66e71084220f6295 /test/web
parentec242b470654e5e66e3d3a36e8d7563e15b08016 (diff)
downloadpleroma-0865f36965f1583085af3a424dbbc89de724fd33.tar.gz
pleroma-0865f36965f1583085af3a424dbbc89de724fd33.zip
Mark notifications about statuses from muted users as read automatically
Diffstat (limited to 'test/web')
-rw-r--r--test/web/mastodon_api/views/notification_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/views/notification_view_test.exs b/test/web/mastodon_api/views/notification_view_test.exs
index 8e0e58538..2f6a808f1 100644
--- a/test/web/mastodon_api/views/notification_view_test.exs
+++ b/test/web/mastodon_api/views/notification_view_test.exs
@@ -219,7 +219,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationViewTest do
expected = %{
id: to_string(notification.id),
- pleroma: %{is_seen: false, is_muted: true},
+ pleroma: %{is_seen: true, is_muted: true},
type: "favourite",
account: AccountView.render("show.json", %{user: another_user, for: user}),
status: StatusView.render("show.json", %{activity: create_activity, for: user}),