fix(server): play queue should not return empty entries for deleted tracks

This commit is contained in:
Deluan
2024-09-20 11:22:37 -04:00
parent 7a6845fa5a
commit 5b89bf747f
4 changed files with 35 additions and 12 deletions
-5
View File
@@ -4,7 +4,6 @@ import (
"context"
"github.com/navidrome/navidrome/db"
"github.com/navidrome/navidrome/log"
"github.com/navidrome/navidrome/model"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
@@ -16,10 +15,6 @@ var _ = Describe("SQLStore", func() {
BeforeEach(func() {
ds = New(db.Db())
ctx = context.Background()
log.SetLevel(log.LevelFatal)
})
AfterEach(func() {
log.SetLevel(log.LevelError)
})
Describe("WithTx", func() {
Context("When block returns nil", func() {