Merge branch 'feature/788-separate-email-addresses' into 'develop'
[akkoma] / test / web / twitter_api / twitter_api_test.exs
index 3440ad268db0b6f474affabac465a3560945fc02..4c9ae2da8033e24c502537ad38ecbab652fc62af 100644 (file)
@@ -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