From 0e030154ee4f73d0c1a8e9d092b12be78b0a0ea5 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Mon, 16 Mar 2020 16:29:23 +0300 Subject: [PATCH] - fix tests --- home/home_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/home/home_test.go b/home/home_test.go index fba9b43d..db8f4f49 100644 --- a/home/home_test.go +++ b/home/home_test.go @@ -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)