diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-18 20:30:31 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-18 20:30:31 +0300 |
commit | ec3719f5391d6f9945cec2e36287049d72743cd4 (patch) | |
tree | 6be0c45d7168d47491e4d49a4ad558e9cd335990 /test/web/activity_pub/views | |
parent | 69341cbcbac2459faa43bb924577e84dac353982 (diff) | |
download | pleroma-ec3719f5391d6f9945cec2e36287049d72743cd4.tar.gz pleroma-ec3719f5391d6f9945cec2e36287049d72743cd4.zip |
Improved in-test config management functions.
Diffstat (limited to 'test/web/activity_pub/views')
-rw-r--r-- | test/web/activity_pub/views/object_view_test.exs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/activity_pub/views/object_view_test.exs b/test/web/activity_pub/views/object_view_test.exs index 09866e99b..7dda20ec3 100644 --- a/test/web/activity_pub/views/object_view_test.exs +++ b/test/web/activity_pub/views/object_view_test.exs @@ -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) |