aboutsummaryrefslogtreecommitdiff
path: root/test/tasks
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/tasks
parent69341cbcbac2459faa43bb924577e84dac353982 (diff)
downloadpleroma-ec3719f5391d6f9945cec2e36287049d72743cd4.tar.gz
Improved in-test config management functions.
Diffstat (limited to 'test/tasks')
-rw-r--r--test/tasks/config_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/tasks/config_test.exs b/test/tasks/config_test.exs
index a6c0de351..b0c2efc98 100644
--- a/test/tasks/config_test.exs
+++ b/test/tasks/config_test.exs
@@ -20,9 +20,7 @@ defmodule Mix.Tasks.Pleroma.ConfigTest do
:ok
end
- clear_config_all(:configurable_from_database) do
- Pleroma.Config.put(:configurable_from_database, true)
- end
+ clear_config_all(:configurable_from_database, true)
test "error if file with custom settings doesn't exist" do
Mix.Tasks.Pleroma.Config.migrate_to_db("config/not_existance_config_file.exs")