aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-04 16:31:45 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-04 16:31:45 +0300
commit680e071dba95d1f46a7a0eeb05d55252752c0e29 (patch)
tree6d97ef6f647336bf877ac10138062e9eafc7ff8a /test
parent3a0a400fe154f44ab37b79eeb3a07f919517743e (diff)
parent228bf4d214abe3bb62c52128d3bc145e396b174d (diff)
downloadpleroma-680e071dba95d1f46a7a0eeb05d55252752c0e29.tar.gz
Merge branch 'develop' into issue/1383
Diffstat (limited to '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 = %{