projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'docs/debian-packages' into 'develop'
[akkoma]
/
test
/
web
/
activity_pub
/
views
/
object_view_test.exs
diff --git
a/test/web/activity_pub/views/object_view_test.exs
b/test/web/activity_pub/views/object_view_test.exs
index f6796ad4ae41332a0ff7e627e6c58574f7f67395..6c006206bbad7094869ffb13878690f5381b5657 100644
(file)
--- 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
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
+ setup do: clear_config([:activitypub, :note_replies_output_limit], 5)
test "renders `replies` collection for a note activity" do
user = insert(:user)
test "renders `replies` collection for a note activity" do
user = insert(:user)