tests: update for new in_reply_to_screen_name field
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 25 Oct 2018 03:03:44 +0000 (03:03 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 25 Oct 2018 03:03:44 +0000 (03:03 +0000)
test/web/twitter_api/representers/activity_representer_test.exs
test/web/twitter_api/views/activity_view_test.exs

index 894d2004998d872e37e7e638c2fc5f63d069700b..ae6f62ed0d0318f605b74b0dd32d44c7acd6eae5 100644 (file)
@@ -139,6 +139,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
       "is_post_verb" => true,
       "created_at" => "Tue May 24 13:26:08 +0000 2016",
       "in_reply_to_status_id" => 213_123,
+      "in_reply_to_screen_name" => nil,
       "statusnet_conversation_id" => convo_object.id,
       "attachments" => [
         ObjectRepresenter.to_map(object)
index b9a8efdadba3437509cc1ab2053f5b28748b633c..3ab87d6fac11217507db9df07bd5e06fefb36915 100644 (file)
@@ -36,6 +36,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
       "favorited" => false,
       "id" => activity.id,
       "in_reply_to_status_id" => nil,
+      "in_reply_to_screen_name" => nil,
       "is_local" => true,
       "is_post_verb" => true,
       "possibly_sensitive" => false,