Change user.discoverable field to user.is_discoverable
[akkoma] / test / web / media_proxy / invalidations / script_test.exs
index c69cec07ab625261ba95258ec2c3faf6322a0d2f..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,8 +9,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.ScriptTest do
   import ExUnit.CaptureLog
 
   setup do
-    on_exit(fn -> Cachex.clear(:deleted_urls_cache) end)
-    :ok
+    on_exit(fn -> Cachex.clear(:banned_urls_cache) end)
   end
 
   test "it logger error when script not found" do