fix api_test tests
This commit is contained in:
parent
0917d82340
commit
774a8a681a
|
@ -206,6 +206,14 @@ func TestLoadAPIServer(t *testing.T) {
|
||||||
DbPath: "./tests/test.db",
|
DbPath: "./tests/test.db",
|
||||||
Type: "sqlite",
|
Type: "sqlite",
|
||||||
},
|
},
|
||||||
|
ConsoleConfigPath: "/etc/crowdsec/console_config.yaml",
|
||||||
|
ConsoleConfig: &ConsoleConfig{
|
||||||
|
ShareManualDecisions: new(bool),
|
||||||
|
ShareTaintedScenarios: new(bool),
|
||||||
|
ShareCustomScenarios: new(bool),
|
||||||
|
ShareDecisions: new(bool),
|
||||||
|
ShareSimulatedDecisions: new(bool),
|
||||||
|
},
|
||||||
LogDir: LogDirFullPath,
|
LogDir: LogDirFullPath,
|
||||||
LogMedia: "stdout",
|
LogMedia: "stdout",
|
||||||
OnlineClient: &OnlineApiClientCfg{
|
OnlineClient: &OnlineApiClientCfg{
|
||||||
|
|
Loading…
Reference in a new issue