diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-04-21 04:22:02 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-04-21 04:22:02 +0200 |
commit | f51a672ac43696424034107c4f397e2b6b01d623 (patch) | |
tree | df6a8a7551be2088d24740a4c456b7b1582565fa /test | |
parent | 424e0e77792361d8f43a085c7cd3b2e9d566a22d (diff) | |
download | pleroma-f51a672ac43696424034107c4f397e2b6b01d623.tar.gz |
Return object id in Ostatus create activties.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/ostatus/activity_representer_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs index 16a9d3b00..de79717b1 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -18,7 +18,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do expected = """ <activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type> <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb> - <id>#{note_activity.data["id"]}</id> + <id>#{note_activity.data["object"]["id"]}</id> <title>New note by #{user.nickname}</title> <content type="html">#{note_activity.data["object"]["content"]}</content> <published>#{inserted_at}</published> |