aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/support/factory.ex3
-rw-r--r--test/web/ostatus/activity_representer_test.exs1
2 files changed, 3 insertions, 1 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index ffc9c56dc..3cf35e3bc 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -25,7 +25,8 @@ defmodule Pleroma.Factory do
"published_at" => DateTime.utc_now() |> DateTime.to_iso8601,
"likes" => [],
"like_count" => 0,
- "context" => "2hu"
+ "context" => "2hu",
+ "tag" => ["2hu"]
}
%Pleroma.Object{
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"/>
"""