- fix tests

This commit is contained in:
Simon Zolin 2020-03-16 16:29:23 +03:00
parent 1000aef1d2
commit 0e030154ee

View File

@ -112,6 +112,7 @@ func TestHome(t *testing.T) {
dir := prepareTestDir()
defer func() { _ = os.RemoveAll(dir) }()
_ = os.MkdirAll(filepath.Join(Context.getDataDir(), filterDir), 0755)
fn := filepath.Join(dir, "AdGuardHome.yaml")
assert.True(t, ioutil.WriteFile(fn, []byte(yamlConf), 0644) == nil)