web: start from rocket's default config for the tests
This commit is contained in:
parent
11f93c3249
commit
7b413150ca
|
@ -563,7 +563,7 @@ pub mod tests {
|
||||||
|
|
||||||
let base_dir: PathBuf = root.path().into();
|
let base_dir: PathBuf = root.path().into();
|
||||||
|
|
||||||
let config = Figment::new()
|
let config = rocket::Config::figment()
|
||||||
.select("staging")
|
.select("staging")
|
||||||
.merge(("root", root.path()))
|
.merge(("root", root.path()))
|
||||||
.merge(("template_dir",
|
.merge(("template_dir",
|
||||||
|
|
Loading…
Reference in New Issue