tests: twitterapi: add additional fields
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 25 Oct 2018 04:06:42 +0000 (04:06 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 25 Oct 2018 04:06:42 +0000 (04:06 +0000)
test/web/twitter_api/representers/activity_representer_test.exs
test/web/twitter_api/views/activity_view_test.exs

index ae6f62ed0d0318f605b74b0dd32d44c7acd6eae5..291fd52379b5890a241f84c0a45a6ba24e063111 100644 (file)
@@ -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)
index 3ab87d6fac11217507db9df07bd5e06fefb36915..5cef06f882e7017c3c473685a978d92fa96bcacd 100644 (file)
@@ -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,