CommonAPITest: Add test that deactivated users can't post.
[akkoma] / test / web / activity_pub / transmogrifier_test.exs
index a18fdaac012b52ee74ee63ddc9d117cbb7f7b745..7d33feaf28176a4fff62159854ae960671f1fddc 100644 (file)
@@ -710,7 +710,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
         "id" => activity.data["id"],
         "content" => "test post",
         "published" => object.data["published"],
-        "actor" => AccountView.render("show.json", %{user: user})
+        "actor" => AccountView.render("show.json", %{user: user, skip_visibility_check: true})
       }
 
       message = %{