summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/remote_follow_controller_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-03-18 20:30:31 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-03-18 20:30:31 +0300
commitec3719f5391d6f9945cec2e36287049d72743cd4 (patch)
tree6be0c45d7168d47491e4d49a4ad558e9cd335990 /test/web/twitter_api/remote_follow_controller_test.exs
parent69341cbcbac2459faa43bb924577e84dac353982 (diff)
downloadpleroma-ec3719f5391d6f9945cec2e36287049d72743cd4.tar.gz
pleroma-ec3719f5391d6f9945cec2e36287049d72743cd4.zip
Improved in-test config management functions.
Diffstat (limited to 'test/web/twitter_api/remote_follow_controller_test.exs')
-rw-r--r--test/web/twitter_api/remote_follow_controller_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/twitter_api/remote_follow_controller_test.exs b/test/web/twitter_api/remote_follow_controller_test.exs
index 73062f18f..5c6087527 100644
--- a/test/web/twitter_api/remote_follow_controller_test.exs
+++ b/test/web/twitter_api/remote_follow_controller_test.exs
@@ -17,9 +17,7 @@ defmodule Pleroma.Web.TwitterAPI.RemoteFollowControllerTest do
:ok
end
- clear_config_all([:instance, :federating]) do
- Config.put([:instance, :federating], true)
- end
+ clear_config_all([:instance, :federating], true)
clear_config([:instance])
clear_config([:frontend_configurations, :pleroma_fe])