Merge branch 'remove-user-info' into 'develop'
[akkoma] / test / web / mastodon_api / views / account_view_test.exs
index af88841ed234c5f8ba87a49312a79abe302247fe..15bfcbb78ccec56c0be9025178af76846dbc6582 100644 (file)
@@ -350,7 +350,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
       }
     }
 
-    assert expected == AccountView.render("show.json", %{user: user, for: other_user})
+    assert expected ==
+             AccountView.render("show.json", %{user: refresh_record(user), for: other_user})
   end
 
   test "returns the settings store if the requesting user is the represented user and it's requested specifically" do