- fix tests

This commit is contained in:
Simon Zolin 2020-03-16 16:29:23 +03:00
parent 1000aef1d2
commit 0e030154ee
1 changed files with 1 additions and 0 deletions

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)