projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CommonAPI: Escape HTML for chat messages.
[akkoma]
/
test
/
object_test.exs
diff --git
a/test/object_test.exs
b/test/object_test.exs
index 703fd6e0f381967201d388fbd643e6330c5a1277..198d3b1cf1ac969016e0ca5effc2f0000ee9210b 100644
(file)
--- a/
test/object_test.exs
+++ b/
test/object_test.exs
@@
-74,8
+74,8
@@
defmodule Pleroma.ObjectTest do
end
describe "delete attachments" do
end
describe "delete attachments" do
- clear_config([Pleroma.Upload])
- clear_config([:instance, :cleanup_attachments])
+
setup do:
clear_config([Pleroma.Upload])
+
setup do:
clear_config([:instance, :cleanup_attachments])
test "Disabled via config" do
Pleroma.Config.put([Pleroma.Upload, :uploader], Pleroma.Uploaders.Local)
test "Disabled via config" do
Pleroma.Config.put([Pleroma.Upload, :uploader], Pleroma.Uploaders.Local)