[#2791] AccountView: renamed :force option to :skip_visibility_check.
This commit is contained in:
parent
6f5f7af607
commit
9ea51a6de5
12 changed files with 44 additions and 29 deletions
|
|
@ -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 %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue