fix tests
This commit is contained in:
parent
8cab31ba2e
commit
82ebc1a04b
|
@ -156,8 +156,10 @@ func TestLoadCrowdsec(t *testing.T) {
|
|||
HubIndexFile: hubIndexFileFullPath,
|
||||
DataDir: dataFullPath,
|
||||
HubDir: hubFullPath,
|
||||
ContextToSend: make(map[string][]string, 0),
|
||||
ConsoleContextPath: "/etc/crowdsec/console/context.yaml",
|
||||
ContextToSend: map[string][]string{
|
||||
"source_ip": {"evt.Parsed.source_ip"},
|
||||
},
|
||||
ConsoleContextPath: "./tests/context.yaml",
|
||||
SimulationConfig: &SimulationConfig{
|
||||
Simulation: &falseBoolPtr,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue