refactor: clean up unused config options

This commit is contained in:
Deluan
2020-03-17 15:16:50 -04:00
committed by Deluan Quintão
parent 68a49befc8
commit e02f3d3ec9
3 changed files with 3 additions and 8 deletions
-2
View File
@@ -7,7 +7,6 @@ import (
"os"
"strings"
"github.com/deluan/navidrome/conf"
"github.com/deluan/navidrome/log"
"github.com/deluan/navidrome/model"
"github.com/deluan/navidrome/persistence"
@@ -31,7 +30,6 @@ var _ = Describe("MediaStreamer", func() {
})
BeforeEach(func() {
conf.Server.EnableDownsampling = true
ds = &persistence.MockDataStore{MockedTranscoding: &mockTranscodingRepository{}}
ds.MediaFile(ctx).(*persistence.MockMediaFile).SetData(`[{"id": "123", "path": "tests/fixtures/test.mp3", "suffix": "mp3", "bitRate": 128, "duration": 257.0}]`, 1)
streamer = NewMediaStreamer(ds, ffmpeg, cache)