[#2791] AccountView: renamed :force option to :skip_visibility_check.

This commit is contained in:
Ivan Tashkinov 2020-07-23 15:08:30 +03:00
commit 9ea51a6de5
12 changed files with 44 additions and 29 deletions

View file

@ -482,7 +482,8 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do
"id" => activity_ap_id,
"content" => content,
"published" => activity.object.data["published"],
"actor" => AccountView.render("show.json", %{user: target_account, force: true})
"actor" =>
AccountView.render("show.json", %{user: target_account, skip_visibility_check: true})
}
assert %{