projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#3213] ActivityPub: implemented subqueries-based hashtags filtering, removed aggrega...
[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..8fb02684730b4c328060c0c9af35b5f118bec3dd 100644
(file)
--- a/
test/pleroma/web/media_proxy/invalidation_test.exs
+++ b/
test/pleroma/web/media_proxy/invalidation_test.exs
@@
-1,10
+1,9
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# 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)