diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-10-25 04:06:42 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-10-25 04:06:42 +0000 |
commit | 6cfba7db8de1cdb409243885724101500fa21e6d (patch) | |
tree | 518457e8e4d429b29e68a7b3ddd47e04f6a7f641 | |
parent | 1ed25c963a69d0f4cabcb7adfed0739af82d1f32 (diff) | |
download | pleroma-6cfba7db8de1cdb409243885724101500fa21e6d.tar.gz |
tests: twitterapi: add additional fields
-rw-r--r-- | test/web/twitter_api/representers/activity_representer_test.exs | 3 | ||||
-rw-r--r-- | test/web/twitter_api/views/activity_view_test.exs | 3 |
2 files changed, 6 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 ae6f62ed0..291fd5237 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -140,6 +140,9 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "created_at" => "Tue May 24 13:26:08 +0000 2016", "in_reply_to_status_id" => 213_123, "in_reply_to_screen_name" => nil, + "in_reply_to_user_id" => nil, + "in_reply_to_profileurl" => nil, + "in_reply_to_ostatus_uri" => nil, "statusnet_conversation_id" => convo_object.id, "attachments" => [ ObjectRepresenter.to_map(object) diff --git a/test/web/twitter_api/views/activity_view_test.exs b/test/web/twitter_api/views/activity_view_test.exs index 3ab87d6fa..5cef06f88 100644 --- a/test/web/twitter_api/views/activity_view_test.exs +++ b/test/web/twitter_api/views/activity_view_test.exs @@ -37,6 +37,9 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do "id" => activity.id, "in_reply_to_status_id" => nil, "in_reply_to_screen_name" => nil, + "in_reply_to_user_id" => nil, + "in_reply_to_profileurl" => nil, + "in_reply_to_ostatus_uri" => nil, "is_local" => true, "is_post_verb" => true, "possibly_sensitive" => false, |