summaryrefslogtreecommitdiff
path: root/test/pleroma/reverse_proxy_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-12-18 19:49:01 +0100
committerlain <lain@soykaf.club>2020-12-18 19:53:19 +0100
commit95a9bdfc374a013be47e74b25bdba5d91f51948b (patch)
tree8c978c04055f71704ddf6f862effdf9462654a88 /test/pleroma/reverse_proxy_test.exs
parent713612c37725c81b0906b03528c9eaa474816c7d (diff)
Tests: Use NullCache for async tests.
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test.
Diffstat (limited to 'test/pleroma/reverse_proxy_test.exs')
-rw-r--r--test/pleroma/reverse_proxy_test.exs3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pleroma/reverse_proxy_test.exs b/test/pleroma/reverse_proxy_test.exs
index 8df63de65..0a2c169ce 100644
--- a/test/pleroma/reverse_proxy_test.exs
+++ b/test/pleroma/reverse_proxy_test.exs
@@ -3,8 +3,7 @@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ReverseProxyTest do
- use Pleroma.Web.ConnCase, async: true
-
+ use Pleroma.Web.ConnCase
import ExUnit.CaptureLog
import Mox