mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-14 19:20:37 +03:00
Fix wrong placement of When in test
This commit is contained in:
parent
8ac133027d
commit
2887cd65fc
@ -32,6 +32,7 @@ var _ = Describe("publicURL", func() {
|
||||
Expect(actual).To(Equal("http://share.myotherserver.com/share/img/123?size=300"))
|
||||
|
||||
})
|
||||
})
|
||||
When("ShareURL is not set", func() {
|
||||
BeforeEach(func() {
|
||||
conf.Server.ShareURL = ""
|
||||
@ -52,5 +53,4 @@ var _ = Describe("publicURL", func() {
|
||||
Expect(actual).To(Equal("https://myserver.com/share/img/123?size=300"))
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user