mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-02 03:33:05 +00:00
Add config test
This commit is contained in:
parent
ff5f31b87e
commit
7f66d9184b
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue