aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web/twitter_api
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-12-18 13:18:17 +0100
committerlain <lain@soykaf.club>2020-12-18 13:18:17 +0100
commitb4b68b71fc88de7ee3387aab1071f2cea257e54d (patch)
treed0d5cdb140fdfd3c368b9961ac7b7b372192b1f1 /test/pleroma/web/twitter_api
parentc1129ff6746b20b164b7bc6dadf851f396ef29ad (diff)
downloadpleroma-b4b68b71fc88de7ee3387aab1071f2cea257e54d.tar.gz
Tests: Remove unneeded explicit cachex use.
Only use cachex when we're actually testing it.
Diffstat (limited to 'test/pleroma/web/twitter_api')
-rw-r--r--test/pleroma/web/twitter_api/twitter_api_test.exs6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/pleroma/web/twitter_api/twitter_api_test.exs b/test/pleroma/web/twitter_api/twitter_api_test.exs
index 20a45cb6f..8b6465b72 100644
--- a/test/pleroma/web/twitter_api/twitter_api_test.exs
+++ b/test/pleroma/web/twitter_api/twitter_api_test.exs
@@ -423,10 +423,4 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
assert is_binary(error)
refute User.get_cached_by_nickname("lain")
end
-
- setup do
- Supervisor.terminate_child(Pleroma.Supervisor, Cachex)
- Supervisor.restart_child(Pleroma.Supervisor, Cachex)
- :ok
- end
end