From f7d726822cdfa434098e92a376caa10eb360f22c Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Fri, 15 Apr 2022 17:09:05 +0200 Subject: [PATCH] fix tests --- pkg/csconfig/crowdsec_service_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/csconfig/crowdsec_service_test.go b/pkg/csconfig/crowdsec_service_test.go index 431b61c2b..308fdc6ee 100644 --- a/pkg/csconfig/crowdsec_service_test.go +++ b/pkg/csconfig/crowdsec_service_test.go @@ -72,6 +72,7 @@ func TestLoadCrowdsec(t *testing.T) { }, expectedResult: &CrowdsecServiceCfg{ AcquisitionDirPath: "", + ConsoleContextPath: "/etc/crowdsec/console/context.yaml", AcquisitionFilePath: acquisFullPath, ConfigDir: configDirFullPath, DataDir: dataFullPath, @@ -110,6 +111,7 @@ func TestLoadCrowdsec(t *testing.T) { AcquisitionDirPath: acquisDirFullPath, AcquisitionFilePath: acquisFullPath, ConfigDir: configDirFullPath, + ConsoleContextPath: "/etc/crowdsec/console/context.yaml", HubIndexFile: hubIndexFileFullPath, DataDir: dataFullPath, HubDir: hubFullPath,