projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs update
[akkoma]
/
test
/
upload
/
filter_test.exs
diff --git
a/test/upload/filter_test.exs
b/test/upload/filter_test.exs
index 2ffc5247bb5c1c3e934281a2cf8ab557ac545591..352b664024ed68e94a0f3477b3b37e04d55da685 100644
(file)
--- a/
test/upload/filter_test.exs
+++ b/
test/upload/filter_test.exs
@@
-8,7
+8,7
@@
defmodule Pleroma.Upload.FilterTest do
alias Pleroma.Config
alias Pleroma.Upload.Filter
alias Pleroma.Config
alias Pleroma.Upload.Filter
- clear_config([Pleroma.Upload.Filter.AnonymizeFilename, :text])
+
setup do:
clear_config([Pleroma.Upload.Filter.AnonymizeFilename, :text])
test "applies filters" do
Config.put([Pleroma.Upload.Filter.AnonymizeFilename, :text], "custom-file.png")
test "applies filters" do
Config.put([Pleroma.Upload.Filter.AnonymizeFilename, :text], "custom-file.png")