projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/config-test-warning' into 'develop'
[akkoma]
/
test
/
pleroma
/
notification_test.exs
diff --git
a/test/pleroma/notification_test.exs
b/test/pleroma/notification_test.exs
index abf1b04109255ba42a70031cdb6a9167e93f61c8..85f895f0fab7fa8973822d3429c51522c59063ce 100644
(file)
--- a/
test/pleroma/notification_test.exs
+++ b/
test/pleroma/notification_test.exs
@@
-624,6
+624,8
@@
defmodule Pleroma.NotificationTest do
"actor" => user.ap_id,
"object" => %{
"type" => "Note",
"actor" => user.ap_id,
"object" => %{
"type" => "Note",
+ "id" => Pleroma.Web.ActivityPub.Utils.generate_object_id(),
+ "to" => ["https://www.w3.org/ns/activitystreams#Public"],
"content" => "message with a Mention tag, but no explicit tagging",
"tag" => [
%{
"content" => "message with a Mention tag, but no explicit tagging",
"tag" => [
%{
@@
-655,6
+657,9
@@
defmodule Pleroma.NotificationTest do
"actor" => user.ap_id,
"object" => %{
"type" => "Note",
"actor" => user.ap_id,
"object" => %{
"type" => "Note",
+ "id" => Pleroma.Web.ActivityPub.Utils.generate_object_id(),
+ "to" => ["https://www.w3.org/ns/activitystreams#Public"],
+ "cc" => [other_user.ap_id],
"content" => "hi everyone",
"attributedTo" => user.ap_id
}
"content" => "hi everyone",
"attributedTo" => user.ap_id
}
@@
-951,6
+956,7
@@
defmodule Pleroma.NotificationTest do
"cc" => [],
"object" => %{
"type" => "Note",
"cc" => [],
"object" => %{
"type" => "Note",
+ "id" => remote_user.ap_id <> "/objects/test",
"content" => "Hello!",
"tag" => [
%{
"content" => "Hello!",
"tag" => [
%{