summaryrefslogtreecommitdiff
path: root/test/web
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-18 18:18:27 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-18 18:18:27 +0200
commit8e02fa100f9f207253a35fbfd92e6e8f9b585435 (patch)
tree2d142ec92ddc6c8e4234ed561cb8e02a218e54ad /test/web
parent36ec998dd71d09462f828cad093cfe68018cf9f3 (diff)
downloadpleroma-8e02fa100f9f207253a35fbfd92e6e8f9b585435.tar.gz
pleroma-8e02fa100f9f207253a35fbfd92e6e8f9b585435.zip
Add categories to ostatus output.
Diffstat (limited to 'test/web')
-rw-r--r--test/web/ostatus/activity_representer_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs
index 969b2a854..7179cfb71 100644
--- a/test/web/ostatus/activity_representer_test.exs
+++ b/test/web/ostatus/activity_representer_test.exs
@@ -27,6 +27,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do
<ostatus:conversation>#{note_activity.data["context"]}</ostatus:conversation>
<link href="#{note_activity.data["context"]}" rel="ostatus:conversation" />
<link type="application/atom+xml" href="#{note_activity.data["object"]["id"]}" rel="self" />
+ <category term="2hu"/>
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
"""