summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_test.exs
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-04-15 10:23:06 +0000
committerlambda <lain@soykaf.club>2019-04-15 10:23:06 +0000
commitf896699357fc7ba05fd539396bf22818d8bd98b4 (patch)
treec1f347618e11cf8c715d27b44367f45a4dcf3882 /test/web/twitter_api/twitter_api_test.exs
parent8c6d5a6b4ddb6c2fc9fea9cf009a99c72260ddee (diff)
parentfd2e31af867379f15f1aed536cdfa779a50b812a (diff)
downloadpleroma-f896699357fc7ba05fd539396bf22818d8bd98b4.tar.gz
pleroma-f896699357fc7ba05fd539396bf22818d8bd98b4.zip
Merge branch 'refactor/remove-inReplyToStatusId' into 'develop'
Remove inReplyToStatusId See merge request pleroma/pleroma!1062
Diffstat (limited to 'test/web/twitter_api/twitter_api_test.exs')
-rw-r--r--test/web/twitter_api/twitter_api_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs
index 6d43bd13a..8781061d4 100644
--- a/test/web/twitter_api/twitter_api_test.exs
+++ b/test/web/twitter_api/twitter_api_test.exs
@@ -105,7 +105,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
get_in(activity.data, ["object", "context"])
assert get_in(reply.data, ["object", "inReplyTo"]) == get_in(activity.data, ["object", "id"])
- assert get_in(reply.data, ["object", "inReplyToStatusId"]) == activity.id
+ assert Activity.get_in_reply_to_activity(reply).id == activity.id
end
test "Follow another user using user_id" do