summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-10-31 19:51:58 +0100
committerRoger Braun <roger@rogerbraun.net>2017-10-31 19:51:58 +0100
commit6f05367325e7d773ca7199948fd5b49409f6d78d (patch)
tree410f1348b334fd6565dcca471868e5916c0c3f72 /test
parente014cc6ed8f98e20f5d64f1e666582c62de6321d (diff)
downloadpleroma-6f05367325e7d773ca7199948fd5b49409f6d78d.tar.gz
pleroma-6f05367325e7d773ca7199948fd5b49409f6d78d.zip
Federate out content warnings.
Diffstat (limited to 'test')
-rw-r--r--test/web/ostatus/activity_representer_test.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs
index 8a0121b37..0d83ad964 100644
--- a/test/web/ostatus/activity_representer_test.exs
+++ b/test/web/ostatus/activity_representer_test.exs
@@ -36,6 +36,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do
<updated>#{note_activity.data["object"]["published"]}</updated>
<ostatus:conversation ref="#{note_activity.data["context"]}">#{note_activity.data["context"]}</ostatus:conversation>
<link ref="#{note_activity.data["context"]}" rel="ostatus:conversation" />
+ <summary>#{note_activity.data["object"]["summary"]}</summary>
<link type="application/atom+xml" href="#{note_activity.data["object"]["id"]}" rel="self" />
<link type="text/html" href="#{note_activity.data["object"]["id"]}" rel="alternate" />
<category term="2hu"/>
@@ -74,6 +75,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do
<updated>#{answer.data["object"]["published"]}</updated>
<ostatus:conversation ref="#{answer.data["context"]}">#{answer.data["context"]}</ostatus:conversation>
<link ref="#{answer.data["context"]}" rel="ostatus:conversation" />
+ <summary>2hu</summary>
<link type="application/atom+xml" href="#{answer.data["object"]["id"]}" rel="self" />
<link type="text/html" href="#{answer.data["object"]["id"]}" rel="alternate" />
<category term="2hu"/>