diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-07-23 15:08:30 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-07-23 15:08:30 +0300 |
commit | 9ea51a6de516b37341a9566d11d0110c2d87c1b6 (patch) | |
tree | 8d06667accd928ff0dc0fb1d85be3d6b2e99ccd7 /test/web/pleroma_api/views | |
parent | 6f5f7af607518b6f67df68bab9bf76142e9a622c (diff) | |
download | pleroma-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.exs | 3 |
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) |