mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Only compute version once
This commit is contained in:
parent
ebad96b8a4
commit
4cf43ed735
8 changed files with 20 additions and 10 deletions
|
@ -188,7 +188,7 @@ var _ = Describe("serveIndex", func() {
|
|||
serveIndex(ds, fs)(w, r)
|
||||
|
||||
config := extractAppConfig(w.Body.String())
|
||||
Expect(config).To(HaveKeyWithValue("version", consts.Version()))
|
||||
Expect(config).To(HaveKeyWithValue("version", consts.Version))
|
||||
})
|
||||
|
||||
It("sets the losslessFormats", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue