diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-05-01 13:14:58 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-05-01 13:14:58 +0200 |
commit | 6843755834192c671aebece505a1ab9322e57eee (patch) | |
tree | 45ac1e0b330b79a37c093a5ff8ca332f78a8ecac /test/web/ostatus | |
parent | bed0b398139897ebe9f839d1263acf6934c4a42f (diff) | |
download | pleroma-6843755834192c671aebece505a1ab9322e57eee.tar.gz pleroma-6843755834192c671aebece505a1ab9322e57eee.zip |
Make outgoing salmons work.
Diffstat (limited to 'test/web/ostatus')
-rw-r--r-- | test/web/ostatus/activity_representer_test.exs | 2 |
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 6344889b1..439c733d7 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -25,6 +25,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do <updated>#{updated_at}</updated> <ostatus:conversation>#{note_activity.data["context"]}</ostatus:conversation> <link href="#{note_activity.data["context"]}" rel="ostatus:conversation" /> + <link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/> """ tuple = ActivityRepresenter.to_simple_form(note_activity, user) @@ -61,6 +62,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do <ostatus:conversation>#{answer.data["context"]}</ostatus:conversation> <link href="#{answer.data["context"]}" rel="ostatus:conversation" /> <thr:in-reply-to ref="#{note.data["object"]["id"]}" /> + <link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/> """ tuple = ActivityRepresenter.to_simple_form(answer, user) |