X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fmedia_proxy%2Finvalidations%2Fscript_test.exs;h=692cbb2df59e78466e7cf6d3928fc78038eb5a0e;hb=42b4b95467ad967dd81d01b99e590ac14fe7afe4;hp=c69cec07ab625261ba95258ec2c3faf6322a0d2f;hpb=579763126f52b21733e84594f36b86e270b3005d;p=akkoma diff --git a/test/web/media_proxy/invalidations/script_test.exs b/test/web/media_proxy/invalidations/script_test.exs index c69cec07a..692cbb2df 100644 --- a/test/web/media_proxy/invalidations/script_test.exs +++ b/test/web/media_proxy/invalidations/script_test.exs @@ -1,3 +1,7 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2020 Pleroma Authors +# 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