From ae50b165cced7fda1e62f677f959c6f202127aa7 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 24 Mar 2017 00:00:06 +0100 Subject: Add inReplyToStatus to TwAPI. --- test/web/twitter_api/representers/activity_representer_test.exs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index d40455c89..b65101115 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -23,7 +23,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "object" => %{ "published" => date, "type" => "Note", - "content" => content + "content" => content, + "inReplyToStatusId" => 213123 }, "published" => date } @@ -38,7 +39,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "statusnet_html" => content, "text" => content, "is_post_verb" => true, - "created_at" => date + "created_at" => date, + "in_reply_to_status_id" => 213123 } assert ActivityRepresenter.to_map(activity, %{user: user, for: follower}) == expected_status -- cgit v1.2.3