Browse Source

esnure default config is valid

migrate-to-golang
Dennis Jekubczyk 3 years ago
parent
commit
ce3d54030d
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      internal/config/read_test.go

+ 8
- 0
internal/config/read_test.go

@ -20,6 +20,14 @@ var _ = Describe("Read", func() {
os.Clearenv()
})
It("parses valid configuration", func() {
aValidEnv()
c, err := config.Read()
Expect(err).NotTo(HaveOccurred())
Expect(c).ToNot(BeNil())
})
Context("Gitea", func() {
It("parses configuration", func() {
aValidEnv()

Loading…
Cancel
Save