Add config test

This commit is contained in:
Kristoffer Dalby 2022-05-30 14:57:43 +02:00
parent ff5f31b87e
commit 7f66d9184b

View file

@ -67,6 +67,7 @@ func (*Suite) TestConfigLoading(c *check.C) {
check.Equals, check.Equals,
fs.FileMode(0o770), fs.FileMode(0o770),
) )
c.Assert(viper.GetBool("logtail.enabled"), check.Equals, false)
} }
func (*Suite) TestDNSConfigLoading(c *check.C) { func (*Suite) TestDNSConfigLoading(c *check.C) {