diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-23 15:13:27 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-23 15:13:27 +0300 |
commit | 2bad25cf148bdd7853021a18303484d0ada93a40 (patch) | |
tree | c419e73134396dbeff92a8cbf6930147ad541fce | |
parent | dddebee047efc4ab1dff6565bef32954695846a7 (diff) | |
download | pleroma-2bad25cf148bdd7853021a18303484d0ada93a40.tar.gz |
fix for migrate to db test
-rw-r--r-- | test/tasks/config_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tasks/config_test.exs b/test/tasks/config_test.exs index 2e56e6cfe..e7bb6e714 100644 --- a/test/tasks/config_test.exs +++ b/test/tasks/config_test.exs @@ -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 |