mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
fix for migrate to db test
This commit is contained in:
parent
dddebee047
commit
2bad25cf14
|
@ -25,11 +25,11 @@ defmodule Mix.Tasks.Pleroma.ConfigTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "error if file with custom settings doesn't exist" do
|
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,
|
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
|
15
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue