Fix wrong placement of When in test

This commit is contained in:
Caio Cotts
2024-09-15 17:09:11 -04:00
parent 8ac133027d
commit 2887cd65fc
+1 -1
View File
@@ -32,6 +32,7 @@ var _ = Describe("publicURL", func() {
Expect(actual).To(Equal("http://share.myotherserver.com/share/img/123?size=300")) Expect(actual).To(Equal("http://share.myotherserver.com/share/img/123?size=300"))
}) })
})
When("ShareURL is not set", func() { When("ShareURL is not set", func() {
BeforeEach(func() { BeforeEach(func() {
conf.Server.ShareURL = "" conf.Server.ShareURL = ""
@@ -53,4 +54,3 @@ var _ = Describe("publicURL", func() {
}) })
}) })
}) })
})