mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
fix(lastfm): changed min-scrobble test for configuration to be dependent on the constant in consts
Signed-off-by: Timo Winkelkötter <timjimwink@gmail.com>
This commit is contained in:
parent
6519c815ef
commit
46e480aa25
@ -388,7 +388,7 @@ var _ = Describe("Configuration", func() {
|
||||
Describe("MinScrobbleDuration", func() {
|
||||
It("defaults to 30 seconds", func() {
|
||||
conf.Load(true)
|
||||
Expect(conf.Server.LastFM.MinScrobbleDuration).To(Equal(30 * time.Second))
|
||||
Expect(conf.Server.LastFM.MinScrobbleDuration).To(Equal(consts.DefaultMinScrobbleDuration))
|
||||
})
|
||||
|
||||
It("sets negative values to default", func() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user