tests: twitterapi: add additional fields

This commit is contained in:
William Pitcock 2018-10-25 04:06:42 +00:00
parent 1ed25c963a
commit 6cfba7db8d
2 changed files with 6 additions and 0 deletions

View file

@ -140,6 +140,9 @@ test "an activity" do
"created_at" => "Tue May 24 13:26:08 +0000 2016", "created_at" => "Tue May 24 13:26:08 +0000 2016",
"in_reply_to_status_id" => 213_123, "in_reply_to_status_id" => 213_123,
"in_reply_to_screen_name" => nil, "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, "statusnet_conversation_id" => convo_object.id,
"attachments" => [ "attachments" => [
ObjectRepresenter.to_map(object) ObjectRepresenter.to_map(object)

View file

@ -37,6 +37,9 @@ test "a create activity with a note" do
"id" => activity.id, "id" => activity.id,
"in_reply_to_status_id" => nil, "in_reply_to_status_id" => nil,
"in_reply_to_screen_name" => 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_local" => true,
"is_post_verb" => true, "is_post_verb" => true,
"possibly_sensitive" => false, "possibly_sensitive" => false,