projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Consistent style
[akkoma]
/
test
/
pleroma
/
web
/
media_proxy
/
invalidation_test.exs
diff --git
a/test/pleroma/web/media_proxy/invalidation_test.exs
b/test/pleroma/web/media_proxy/invalidation_test.exs
index aa1435ac0994b2b05cfbc278d533db0d24f04514..b7be36b470a0a8a6c9874dca05466eaa5296a7bc 100644
(file)
--- a/
test/pleroma/web/media_proxy/invalidation_test.exs
+++ b/
test/pleroma/web/media_proxy/invalidation_test.exs
@@
-3,8
+3,7
@@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MediaProxy.InvalidationTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MediaProxy.InvalidationTest do
- use ExUnit.Case
- use Pleroma.Tests.Helpers
+ use Pleroma.DataCase
alias Pleroma.Config
alias Pleroma.Web.MediaProxy.Invalidation
alias Pleroma.Config
alias Pleroma.Web.MediaProxy.Invalidation
@@
-15,10
+14,6
@@
defmodule Pleroma.Web.MediaProxy.InvalidationTest do
setup do: clear_config([:media_proxy])
setup do: clear_config([:media_proxy])
- setup do
- on_exit(fn -> Cachex.clear(:banned_urls_cache) end)
- end
-
describe "Invalidation.Http" do
test "perform request to clear cache" do
Config.put([:media_proxy, :enabled], false)
describe "Invalidation.Http" do
test "perform request to clear cache" do
Config.put([:media_proxy, :enabled], false)