X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fupload%2Ffilter_test.exs;h=352b664024ed68e94a0f3477b3b37e04d55da685;hb=b5aa204eb8bf3f737d3d807a9924c0153d1b6d3e;hp=03887c06aef78e5e2970725f54c3023be0772bed;hpb=222ac3bcbebe496ba8f0363adea40ef4fcf26886;p=akkoma
diff --git a/test/upload/filter_test.exs b/test/upload/filter_test.exs
index 03887c06a..352b66402 100644
--- a/test/upload/filter_test.exs
+++ b/test/upload/filter_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Upload.FilterTest do
@@ -8,7 +8,7 @@ defmodule Pleroma.Upload.FilterTest do
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")