Merge branch 'docs/improve-backup-restore' into 'develop'
[akkoma] / test / web / media_proxy / invalidations / script_test.exs
index 8e155b705c6ad70b5c2aab5241fe5bb188f51fe0..692cbb2df59e78466e7cf6d3928fc78038eb5a0e 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Web.MediaProxy.Invalidation.ScriptTest do
   use ExUnit.Case
   alias Pleroma.Web.MediaProxy.Invalidation
@@ -5,7 +9,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.ScriptTest do
   import ExUnit.CaptureLog
 
   setup do
-    on_exit(fn -> Cachex.clear(:deleted_urls_cache) end)
+    on_exit(fn -> Cachex.clear(:banned_urls_cache) end)
   end
 
   test "it logger error when script not found" do