1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-23 10:55:05 +01:00

Merge branch 'fix_for_migrate_to_db_test' into 'develop'

Fix for migrate to db test

See merge request pleroma/pleroma!2133
This commit is contained in:
feld 2020-01-24 00:25:38 +00:00
commit a182d400d7

View File

@ -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