diff options
author | lain <lain@soykaf.club> | 2020-06-15 07:57:58 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-15 07:57:58 +0000 |
commit | 448e93ce2c1eab9eb91118b90f661c31056e4781 (patch) | |
tree | 156ff3c3c0fb6eb12064e536ae5a754048b48af4 /test/web/mastodon_api/views | |
parent | 271ea5068f4e3b901cb3f682e132378246daf452 (diff) | |
parent | b15cfc3d365dcfa5f99159fe06e29de6f8aceb4f (diff) | |
download | pleroma-448e93ce2c1eab9eb91118b90f661c31056e4781.tar.gz pleroma-448e93ce2c1eab9eb91118b90f661c31056e4781.zip |
Merge branch 'notifications-filtering' into 'develop'
Mastodon API return full result set in notifications
See merge request pleroma/pleroma!2552
Diffstat (limited to 'test/web/mastodon_api/views')
-rw-r--r-- | test/web/mastodon_api/views/notification_view_test.exs | 4 |
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 |