projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#3213] ActivityPub: fixed subquery-based hashtags filtering implementation (addresse...
[akkoma]
/
test
/
pleroma
/
conversation_test.exs
diff --git
a/test/pleroma/conversation_test.exs
b/test/pleroma/conversation_test.exs
index 359aa68403a413fc2488227c84d938c71b712e2f..1a947606d635efee995657f8b0ae2257f192de78 100644
(file)
--- a/
test/pleroma/conversation_test.exs
+++ b/
test/pleroma/conversation_test.exs
@@
-1,5
+1,5
@@
# 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.ConversationTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ConversationTest do
@@
-48,7
+48,7
@@
defmodule Pleroma.ConversationTest do
user = insert(:user)
{:ok, activity} = CommonAPI.post(user, %{status: "Hey"})
user = insert(:user)
{:ok, activity} = CommonAPI.post(user, %{status: "Hey"})
- object = Pleroma.Object.normalize(activity)
+ object = Pleroma.Object.normalize(activity
, fetch: false
)
context = object.data["context"]
conversation = Conversation.get_for_ap_id(context)
context = object.data["context"]
conversation = Conversation.get_for_ap_id(context)
@@
-64,7
+64,7
@@
defmodule Pleroma.ConversationTest do
{:ok, activity} =
CommonAPI.post(har, %{status: "Hey @#{jafnhar.nickname}", visibility: "direct"})
{:ok, activity} =
CommonAPI.post(har, %{status: "Hey @#{jafnhar.nickname}", visibility: "direct"})
- object = Pleroma.Object.normalize(activity)
+ object = Pleroma.Object.normalize(activity
, fetch: false
)
context = object.data["context"]
conversation =
context = object.data["context"]
conversation =
@@
-86,7
+86,7
@@
defmodule Pleroma.ConversationTest do
in_reply_to_status_id: activity.id
})
in_reply_to_status_id: activity.id
})
- object = Pleroma.Object.normalize(activity)
+ object = Pleroma.Object.normalize(activity
, fetch: false
)
context = object.data["context"]
conversation_two =
context = object.data["context"]
conversation_two =
@@
-110,7
+110,7
@@
defmodule Pleroma.ConversationTest do
in_reply_to_status_id: activity.id
})
in_reply_to_status_id: activity.id
})
- object = Pleroma.Object.normalize(activity)
+ object = Pleroma.Object.normalize(activity
, fetch: false
)
context = object.data["context"]
conversation_three =
context = object.data["context"]
conversation_three =