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,