Merge branch 'bugfix/relax-spam-protection' into 'develop'
[akkoma] / test / web / twitter_api / twitter_api_test.exs
index 6d43bd13a0ac1aca7217cfdf9b34f66574796d1a..8781061d4c1fad7bb0a1b021fbde32a763a50fd1 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