mirror of
https://github.com/arnaucube/mirror-to-gitea.git
synced 2026-02-07 11:36:45 +01:00
esnure default config is valid
This commit is contained in:
@@ -20,6 +20,14 @@ var _ = Describe("Read", func() {
|
|||||||
os.Clearenv()
|
os.Clearenv()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
It("parses valid configuration", func() {
|
||||||
|
aValidEnv()
|
||||||
|
|
||||||
|
c, err := config.Read()
|
||||||
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
Expect(c).ToNot(BeNil())
|
||||||
|
})
|
||||||
|
|
||||||
Context("Gitea", func() {
|
Context("Gitea", func() {
|
||||||
It("parses configuration", func() {
|
It("parses configuration", func() {
|
||||||
aValidEnv()
|
aValidEnv()
|
||||||
|
|||||||
Reference in New Issue
Block a user