mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Adjust tests to InternalDB constructor
This commit is contained in:
committed by
Dan Christian Bogos
parent
0e5c5a9e60
commit
5463eb61c6
@@ -188,7 +188,11 @@ func TestAnalyzersV1Search(t *testing.T) {
|
||||
if err := os.MkdirAll(cfg.AnalyzerSCfg().DBPath, 0700); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
dm := engine.NewDataManager(engine.NewInternalDB(nil, nil, true, false, cfg.DataDbCfg().Items), cfg.CacheCfg(), nil)
|
||||
idb, err := engine.NewInternalDB(nil, nil, true, nil, cfg.DataDbCfg().Items)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
dm := engine.NewDataManager(idb, cfg.CacheCfg(), nil)
|
||||
anz, err := NewAnalyzerService(cfg)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user