Remote Timeline: add Streaming support
[akkoma] / test / web / pleroma_api / views / chat_view_test.exs
index 46d47cd4f81d519e788c606ff170004773dcbf2a..02484b705b7ccd380fd60d41d1eb5b5ea2602ba1 100644 (file)
@@ -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)