aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-04 16:22:01 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-04 16:22:01 +0300
commited7f850ad2c9271268098959d8a86b24b187fa22 (patch)
treebe40a19cc7fa8240c66f979f6f57f42dd76f0f0c
parent7722e5a67a46304f3ae0e37f674a44ca9268be5e (diff)
downloadpleroma-ed7f850ad2c9271268098959d8a86b24b187fa22.tar.gz
fix test
-rw-r--r--test/web/mastodon_api/views/notification_view_test.exs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/web/mastodon_api/views/notification_view_test.exs b/test/web/mastodon_api/views/notification_view_test.exs
index 80b6d414c..26e1afc85 100644
--- a/test/web/mastodon_api/views/notification_view_test.exs
+++ b/test/web/mastodon_api/views/notification_view_test.exs
@@ -117,6 +117,9 @@ defmodule Pleroma.Web.MastodonAPI.NotificationViewTest do
Pleroma.Web.ActivityPub.ActivityPub.move(old_user, new_user)
Pleroma.Tests.ObanHelpers.perform_all()
+ old_user = refresh_record(old_user)
+ new_user = refresh_record(new_user)
+
[notification] = Notification.for_user(follower)
expected = %{