Tests: Remove unneeded explicit cachex use.
Only use cachex when we're actually testing it.
This commit is contained in:
parent
c1129ff674
commit
b4b68b71fc
17 changed files with 10 additions and 47 deletions
|
|
@ -12,10 +12,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue