Misc refactoring / tweaks (`ThreadMute.exists?/2`).
[akkoma] / test / web / mastodon_api / views / account_view_test.exs
index ede62903f9e27cc820be49d07cece81ddbb221eb..0d1c3ecb3fc5cacaf1a58a66106e8ebe78873637 100644 (file)
@@ -186,7 +186,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
 
   describe "relationship" do
     defp test_relationship_rendering(user, other_user, expected_result) do
-      opts = %{user: user, target: other_user}
+      opts = %{user: user, target: other_user, relationships: nil}
       assert expected_result == AccountView.render("relationship.json", opts)
 
       relationships_opt = UserRelationship.view_relationships_option(user, [other_user])