diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-05-07 12:46:21 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-05-07 12:46:21 +0200 |
commit | 95ab0dc3c5ea63048a98b5fb594d0163249be822 (patch) | |
tree | 89a798ce4f534aeb184d3dd821f3ddffebc53772 /test | |
parent | c51e15975a2ca3c948098efa1aee6fc97335d198 (diff) | |
download | pleroma-95ab0dc3c5ea63048a98b5fb594d0163249be822.tar.gz |
Add conversation ids to twapi announce representer.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/twitter_api/representers/activity_representer_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index 64e7f0641..84c8d9a49 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -22,6 +22,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do retweeted_status = ActivityRepresenter.to_map(note_activity, %{user: activity_actor, for: user}) assert retweeted_status["repeated"] == true + assert retweeted_status["id"] == note_activity.id + assert status["statusnet_conversation_id"] == retweeted_status["statusnet_conversation_id"] assert status["retweeted_status"] == retweeted_status end |