diff options
author | lain <lain@soykaf.club> | 2020-12-18 13:18:17 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-12-18 13:18:17 +0100 |
commit | b4b68b71fc88de7ee3387aab1071f2cea257e54d (patch) | |
tree | d0d5cdb140fdfd3c368b9961ac7b7b372192b1f1 /test/pleroma/web/admin_api/controllers | |
parent | c1129ff6746b20b164b7bc6dadf851f396ef29ad (diff) | |
download | pleroma-b4b68b71fc88de7ee3387aab1071f2cea257e54d.tar.gz |
Tests: Remove unneeded explicit cachex use.
Only use cachex when we're actually testing it.
Diffstat (limited to 'test/pleroma/web/admin_api/controllers')
-rw-r--r-- | test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs b/test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs index f243d1fb2..62fb9592a 100644 --- a/test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs +++ b/test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs @@ -13,10 +13,6 @@ defmodule Pleroma.Web.AdminAPI.MediaProxyCacheControllerTest do setup do: clear_config([:media_proxy]) setup do - on_exit(fn -> Cachex.clear(:banned_urls_cache) end) - end - - setup do admin = insert(:user, is_admin: true) token = insert(:oauth_admin_token, user: admin) |