Adjust tests to InternalDB constructor

This commit is contained in:
arberkatellari
2025-04-07 17:15:24 +02:00
committed by Dan Christian Bogos
parent 0e5c5a9e60
commit 5463eb61c6
102 changed files with 3295 additions and 1154 deletions

View File

@@ -563,7 +563,10 @@ func TestExportRequestSetFields(t *testing.T) {
}
onm.Append(fullPath, val)
cfg := config.NewDefaultCGRConfig()
db := NewInternalDB(nil, nil, true, false, cfg.DataDbCfg().Items)
db, dErr := NewInternalDB(nil, nil, true, nil, cfg.DataDbCfg().Items)
if dErr != nil {
t.Error(dErr)
}
dm := NewDataManager(db, config.CgrConfig().CacheCfg(), nil)
eeR := &ExportRequest{
inData: map[string]utils.DataStorage{