aboutsummaryrefslogtreecommitdiff
path: root/test/web/activity_pub/utils_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-07-23 15:08:30 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-07-23 15:08:30 +0300
commit9ea51a6de516b37341a9566d11d0110c2d87c1b6 (patch)
tree8d06667accd928ff0dc0fb1d85be3d6b2e99ccd7 /test/web/activity_pub/utils_test.exs
parent6f5f7af607518b6f67df68bab9bf76142e9a622c (diff)
downloadpleroma-9ea51a6de516b37341a9566d11d0110c2d87c1b6.tar.gz
[#2791] AccountView: renamed `:force` option to `:skip_visibility_check`.
Diffstat (limited to 'test/web/activity_pub/utils_test.exs')
-rw-r--r--test/web/activity_pub/utils_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/activity_pub/utils_test.exs b/test/web/activity_pub/utils_test.exs
index ab984d486..d50213545 100644
--- a/test/web/activity_pub/utils_test.exs
+++ b/test/web/activity_pub/utils_test.exs
@@ -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 %{