mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Adjust tests to InternalDB constructor
This commit is contained in:
committed by
Dan Christian Bogos
parent
0e5c5a9e60
commit
5463eb61c6
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user