1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

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) {