aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2020-01-24 00:25:38 +0000
committerfeld <feld@feld.me>2020-01-24 00:25:38 +0000
commita182d400d7d5aa414240b156965533c0e9b222d0 (patch)
treee7c120c457f85ac8ddf5cb62a0ef25d9a29f5b07
parent362295358a778c08d7e3604890be0fa65ab38c33 (diff)
parent2bad25cf148bdd7853021a18303484d0ada93a40 (diff)
downloadpleroma-a182d400d7d5aa414240b156965533c0e9b222d0.tar.gz
Merge branch 'fix_for_migrate_to_db_test' into 'develop'
Fix for migrate to db test See merge request pleroma/pleroma!2133
-rw-r--r--test/tasks/config_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tasks/config_test.exs b/test/tasks/config_test.exs
index f2c294140..d79d34276 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