Chat API: Align more to Pleroma/Mastodon API.
[akkoma] / test / web / pleroma_api / views / chat_view_test.exs
index 725da5ff80e8fd61ea73e4c4e6217800319460a2..1ac3483d115306a86a81112fa0b60dc3b7ec1875 100644 (file)
@@ -21,8 +21,7 @@ defmodule Pleroma.Web.PleromaAPI.ChatViewTest do
 
     assert represented_chat == %{
              id: "#{chat.id}",
-             recipient: recipient.ap_id,
-             recipient_account: AccountView.render("show.json", user: recipient),
+             account: AccountView.render("show.json", user: recipient),
              unread: 0
            }
   end