mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
Replace multiconfig with cobra+viper
This commit is contained in:
parent
fea060e4f2
commit
5021c0fd0c
10 changed files with 275 additions and 197 deletions
|
@ -23,7 +23,7 @@ func Init(t *testing.T, skipOnShort bool) {
|
|||
confPath, _ := filepath.Abs(filepath.Join(appPath, "tests", "navidrome-test.toml"))
|
||||
println("Loading test configuration file from " + confPath)
|
||||
_ = os.Chdir(appPath)
|
||||
conf.LoadFromFile("tests/navidrome-test.toml", true)
|
||||
conf.LoadFromFile("tests/navidrome-test.toml")
|
||||
|
||||
noLog := os.Getenv("NOLOG")
|
||||
if noLog != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue