summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/views/notification_view_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/web/mastodon_api/views/notification_view_test.exs')
-rw-r--r--test/web/mastodon_api/views/notification_view_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/mastodon_api/views/notification_view_test.exs b/test/web/mastodon_api/views/notification_view_test.exs
index b2fa5b302..9c399b2df 100644
--- a/test/web/mastodon_api/views/notification_view_test.exs
+++ b/test/web/mastodon_api/views/notification_view_test.exs
@@ -139,9 +139,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationViewTest do
test_notifications_rendering([notification], followed, [expected])
User.perform(:delete, follower)
- notification = Notification |> Repo.one() |> Repo.preload(:activity)
-
- test_notifications_rendering([notification], followed, [])
+ refute Repo.one(Notification)
end
@tag capture_log: true