mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
fix: option to skip flags, to avoid breaking the tests
This commit is contained in:
parent
0ff741b394
commit
cc6eacd608
2 changed files with 10 additions and 7 deletions
|
@ -23,7 +23,7 @@ func Init(t *testing.T, skipOnShort bool) {
|
|||
confPath, _ := filepath.Abs(filepath.Join(appPath, "tests", "navidrome-test.toml"))
|
||||
|
||||
os.Chdir(appPath)
|
||||
conf.LoadFromFile(confPath)
|
||||
conf.LoadFromFile(confPath, true)
|
||||
|
||||
noLog := os.Getenv("NOLOG")
|
||||
if noLog != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue