Merge remote-tracking branch 'remotes/origin/develop' into clear-config-test-improvements
[akkoma] / test / web / activity_pub / views / object_view_test.exs
index 09866e99be201dd9161d7ae522b828970d3a0e08..7dda20ec303e3cc4cf3929f591332b0104ecc0e1 100644 (file)
@@ -37,9 +37,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectViewTest do
   end
 
   describe "note activity's `replies` collection rendering" do
-    clear_config([:activitypub, :note_replies_output_limit]) do
-      Pleroma.Config.put([:activitypub, :note_replies_output_limit], 5)
-    end
+    clear_config([:activitypub, :note_replies_output_limit], 5)
 
     test "renders `replies` collection for a note activity" do
       user = insert(:user)