diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-15 16:03:40 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-15 16:03:40 +0400 |
commit | 58e4e3db8b04933129303d0ad9da74b43cbb4003 (patch) | |
tree | 28cc28e116b8a8091e686ebc7a17f3c783d7ad04 /test/web/mastodon_api/views | |
parent | 09d31d24de568aac06fe203beeb8bb2a9de8f602 (diff) | |
parent | 448e93ce2c1eab9eb91118b90f661c31056e4781 (diff) | |
download | pleroma-58e4e3db8b04933129303d0ad9da74b43cbb4003.tar.gz pleroma-58e4e3db8b04933129303d0ad9da74b43cbb4003.zip |
Merge remote-tracking branch 'origin/develop' into merge-ogp-twitter-parsers
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 |