summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-06-18 05:02:33 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-06-18 05:06:28 +0300
commit4044f24e2e4935757e038e7f06373ed1c9172560 (patch)
tree7c54afa6518ff020be0cfe0311f5781d9ebc2b42 /test
parent2731ea1334c2c91315465659a0874829cb9e1e11 (diff)
downloadpleroma-4044f24e2e4935757e038e7f06373ed1c9172560.tar.gz
pleroma-4044f24e2e4935757e038e7f06373ed1c9172560.zip
fix test
Diffstat (limited to 'test')
-rw-r--r--test/web/media_proxy/invalidations/http_test.exs2
-rw-r--r--test/web/media_proxy/invalidations/script_test.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/web/media_proxy/invalidations/http_test.exs b/test/web/media_proxy/invalidations/http_test.exs
index 9d181dd8b..a1bef5237 100644
--- a/test/web/media_proxy/invalidations/http_test.exs
+++ b/test/web/media_proxy/invalidations/http_test.exs
@@ -6,7 +6,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.HttpTest do
import Tesla.Mock
setup do
- on_exit(fn -> Cachex.clear(:deleted_urls_cache) end)
+ on_exit(fn -> Cachex.clear(:banned_urls_cache) end)
end
test "logs hasn't error message when request is valid" do
diff --git a/test/web/media_proxy/invalidations/script_test.exs b/test/web/media_proxy/invalidations/script_test.exs
index 8e155b705..51833ab18 100644
--- a/test/web/media_proxy/invalidations/script_test.exs
+++ b/test/web/media_proxy/invalidations/script_test.exs
@@ -5,7 +5,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