summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/representers
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-28 14:49:21 +0200
committerRoger Braun <roger@rogerbraun.net>2017-03-28 14:49:21 +0200
commit0dd337330421fb9efe580275485d948d60da328a (patch)
treebe1502fd1cefbe145ae3d24fac1e421115339c9b /test/web/twitter_api/representers
parente25aea3fa70279a51595206b486f0ed9174690e7 (diff)
downloadpleroma-0dd337330421fb9efe580275485d948d60da328a.tar.gz
pleroma-0dd337330421fb9efe580275485d948d60da328a.zip
Return statusnet_conversation_id in TwAPI.
Diffstat (limited to 'test/web/twitter_api/representers')
-rw-r--r--test/web/twitter_api/representers/activity_representer_test.exs6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs
index b65101115..376d31575 100644
--- a/test/web/twitter_api/representers/activity_representer_test.exs
+++ b/test/web/twitter_api/representers/activity_representer_test.exs
@@ -24,7 +24,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
"published" => date,
"type" => "Note",
"content" => content,
- "inReplyToStatusId" => 213123
+ "inReplyToStatusId" => 213123,
+ "statusnetConversationId" => 4711
},
"published" => date
}
@@ -40,7 +41,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
"text" => content,
"is_post_verb" => true,
"created_at" => date,
- "in_reply_to_status_id" => 213123
+ "in_reply_to_status_id" => 213123,
+ "statusnet_conversation_id" => 4711
}
assert ActivityRepresenter.to_map(activity, %{user: user, for: follower}) == expected_status