aboutsummaryrefslogtreecommitdiff
path: root/test/web/pleroma_api/views
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/pleroma_api/views
parent6f5f7af607518b6f67df68bab9bf76142e9a622c (diff)
downloadpleroma-9ea51a6de516b37341a9566d11d0110c2d87c1b6.tar.gz
[#2791] AccountView: renamed `:force` option to `:skip_visibility_check`.
Diffstat (limited to 'test/web/pleroma_api/views')
-rw-r--r--test/web/pleroma_api/views/chat_view_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/pleroma_api/views/chat_view_test.exs b/test/web/pleroma_api/views/chat_view_test.exs
index 46d47cd4f..02484b705 100644
--- a/test/web/pleroma_api/views/chat_view_test.exs
+++ b/test/web/pleroma_api/views/chat_view_test.exs
@@ -26,7 +26,8 @@ defmodule Pleroma.Web.PleromaAPI.ChatViewTest do
assert represented_chat == %{
id: "#{chat.id}",
- account: AccountView.render("show.json", user: recipient, force: true),
+ account:
+ AccountView.render("show.json", user: recipient, skip_visibility_check: true),
unread: 0,
last_message: nil,
updated_at: Utils.to_masto_date(chat.updated_at)