X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fpleroma_api%2Fviews%2Fchat_view_test.exs;h=02484b705b7ccd380fd60d41d1eb5b5ea2602ba1;hb=9c672ecbb5d4477cd16d2139a2cb66d3923ac5c8;hp=14eecb1bdcdb626a1372b650862a80020e2c088a;hpb=2cdaac433035d8df3890eae098b55380b9e1c9fc;p=akkoma diff --git a/test/web/pleroma_api/views/chat_view_test.exs b/test/web/pleroma_api/views/chat_view_test.exs index 14eecb1bd..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), + 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)