aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-03-27 08:01:03 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-03-27 08:01:03 +0300
commitdfbc05d4965a04a82d4c4c5b8842f4117757f30e (patch)
treea0a9f30a11d6b237e6c7561e15d09ed66d5c10fc /test
parent6b793d3f8336fcba5cac596f9e76d0274633f98d (diff)
downloadpleroma-dfbc05d4965a04a82d4c4c5b8842f4117757f30e.tar.gz
Misc refactoring / tweaks (`ThreadMute.exists?/2`).
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index ede62903f..0d1c3ecb3 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -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])