diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-06-18 05:02:33 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-06-18 05:06:28 +0300 |
commit | 4044f24e2e4935757e038e7f06373ed1c9172560 (patch) | |
tree | 7c54afa6518ff020be0cfe0311f5781d9ebc2b42 /test | |
parent | 2731ea1334c2c91315465659a0874829cb9e1e11 (diff) | |
download | pleroma-4044f24e2e4935757e038e7f06373ed1c9172560.tar.gz pleroma-4044f24e2e4935757e038e7f06373ed1c9172560.zip |
fix test
Diffstat (limited to 'test')
-rw-r--r-- | test/web/media_proxy/invalidations/http_test.exs | 2 | ||||
-rw-r--r-- | test/web/media_proxy/invalidations/script_test.exs | 2 |
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 |