commit: 228bf4d214abe3bb62c52128d3bc145e396b174d
parent: 7722e5a67a46304f3ae0e37f674a44ca9268be5e
Author: lain <lain@soykaf.club>
Date: Wed, 4 Dec 2019 13:25:12 +0000
Merge branch 'fix_test' into 'develop'
[#1457] fix test
See merge request pleroma/pleroma!2035
Diffstat:
1 file 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
@@ -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 = %{