projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update mastofe paths (#95)
[akkoma]
/
test
/
pleroma
/
web
/
pleroma_api
/
views
/
chat_view_test.exs
diff --git
a/test/pleroma/web/pleroma_api/views/chat_view_test.exs
b/test/pleroma/web/pleroma_api/views/chat_view_test.exs
index 02484b705b7ccd380fd60d41d1eb5b5ea2602ba1..5456c2de0dde158b40e1a90df2f7e2ef12e10469 100644
(file)
--- a/
test/pleroma/web/pleroma_api/views/chat_view_test.exs
+++ b/
test/pleroma/web/pleroma_api/views/chat_view_test.exs
@@
-1,9
+1,9
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.PleromaAPI.ChatViewTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.PleromaAPI.ChatViewTest do
- use Pleroma.DataCase
+ use Pleroma.DataCase
, async: true
alias Pleroma.Chat
alias Pleroma.Chat.MessageReference
alias Pleroma.Chat
alias Pleroma.Chat.MessageReference
@@
-35,7
+35,7
@@
defmodule Pleroma.Web.PleromaAPI.ChatViewTest do
{:ok, chat_message_creation} = CommonAPI.post_chat_message(user, recipient, "hello")
{:ok, chat_message_creation} = CommonAPI.post_chat_message(user, recipient, "hello")
- chat_message = Object.normalize(chat_message_creation, false)
+ chat_message = Object.normalize(chat_message_creation, f
etch: f
alse)
{:ok, chat} = Chat.get_or_create(user.id, recipient.ap_id)
{:ok, chat} = Chat.get_or_create(user.id, recipient.ap_id)