mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
fix: adapt to copy-on-write config
Use conf.Update in the smart playlist cover specs. The persistence suite already restores config after each spec. Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
1 parent
02329496a8
commit
db27b6208d
1 file changed
+1
-2
@@ -73,8 +73,7 @@ var _ = Describe("PlaylistRepository - Smart Playlists", func() {
|
||||
}
|
||||
|
||||
BeforeEach(func() {
|
||||
DeferCleanup(configtest.SetupConfig())
|
||||
conf.Server.SmartPlaylistRefreshDelay = -1 * time.Second
|
||||
conf.Update(func(c *conf.Options) { c.SmartPlaylistRefreshDelay = -1 * time.Second })
|
||||
clearArtworkTables()
|
||||
DeferCleanup(clearArtworkTables)
|
||||
pls = model.Playlist{Name: "Covered", OwnerID: "userid", Rules: &criteria.Criteria{
|
||||
|
||||
Reference in new issue
Block a user