summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/views
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-06-15 15:24:55 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-06-15 15:24:55 +0300
commit579763126f52b21733e84594f36b86e270b3005d (patch)
tree2b183b4b4ac4be2a4b64da87adc7ed56b7222f39 /test/web/mastodon_api/views
parentefdfc85c2d8e5118c1aa18e4f04026ec90cd11d2 (diff)
parent448e93ce2c1eab9eb91118b90f661c31056e4781 (diff)
downloadpleroma-579763126f52b21733e84594f36b86e270b3005d.tar.gz
pleroma-579763126f52b21733e84594f36b86e270b3005d.zip
Merge branch 'develop' into issue/1855
Diffstat (limited to 'test/web/mastodon_api/views')
-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