Commit a182d400 authored by feld's avatar feld

Merge branch 'fix_for_migrate_to_db_test' into 'develop'

Fix for migrate to db test

See merge request !2133
parents 36229535 2bad25cf
Pipeline #22120 passed with stages
in 51 minutes and 36 seconds
......@@ -25,11 +25,11 @@ defmodule Mix.Tasks.Pleroma.ConfigTest do
end
test "error if file with custom settings doesn't exist" do
Mix.Tasks.Pleroma.Config.run(["migrate_to_db"])
Mix.Tasks.Pleroma.Config.migrate_to_db("config/not_existance_config_file.exs")
assert_receive {:mix_shell, :info,
[
"To migrate settings, you must define custom settings in config/test.secret.exs."
"To migrate settings, you must define custom settings in config/not_existance_config_file.exs."
]},
15
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment