Fix test-leaked HLS cache directory tracked in repo; give subsonic tests a real DataDir
This commit is contained in:
@@ -35,7 +35,7 @@ func newTestServer(t *testing.T) (*Server, *sql.DB) {
|
||||
log := slog.New(slog.NewTextHandler(io.Discard, nil))
|
||||
s := &Server{
|
||||
DB: db,
|
||||
Config: config.Config{},
|
||||
Config: config.Config{DataDir: t.TempDir()},
|
||||
EncryptionKey: key,
|
||||
Scanner: scanner.New(db, &metadata.Prober{}, log),
|
||||
CoverArt: coverart.New(t.TempDir(), ""),
|
||||
|
||||
Reference in New Issue
Block a user