Merge branch '923_oauth_consumer_refactoring_ci' into 'develop'
[akkoma] / test / web / activity_pub / transmogrifier_test.exs
index 62b973c4ff8df6b3b929b871a513a1a3c52d991d..c857a7ec1e44372f7a818b4454b7cfd413598be7 100644 (file)
@@ -58,8 +58,6 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
 
       assert returned_activity.data["object"]["inReplyToAtomUri"] ==
                "https://shitposter.club/notice/2827873"
-
-      assert returned_activity.data["object"]["inReplyToStatusId"] == activity.id
     end
 
     test "it works for incoming notices" do
@@ -1028,9 +1026,6 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
       assert user.info.note_count == 1
       assert user.follower_address == "https://niu.moe/users/rye/followers"
 
-      # Wait for the background task
-      :timer.sleep(1000)
-
       user = User.get_by_id(user.id)
       assert user.info.note_count == 1