Fix test-leaked HLS cache directory tracked in repo; give subsonic tests a real DataDir

This commit is contained in:
2026-08-23 00:38:57 -05:00
parent 6ac50994b8
commit 3b4883780b
22 changed files with 2 additions and 71 deletions
+1 -1
View File
@@ -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(), ""),