mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 17:18:44 +05:00
Add cover tests in apis
This commit is contained in:
committed by
Dan Christian Bogos
parent
10186ff23c
commit
53807032a0
@@ -402,7 +402,7 @@ func (dbM *DataDBMock) GetRateProfileDrv(ctx *context.Context, tnt string, id st
|
||||
|
||||
func (dbM *DataDBMock) GetRateProfileRatesDrv(ctx *context.Context, tnt string, id string, rtPrfx string, needIDs bool) ([]string, []*utils.Rate, error) {
|
||||
if dbM.GetRateProfileRatesDrvF != nil {
|
||||
return dbM.GetRateProfileRatesDrv(ctx, tnt, id, rtPrfx, needIDs)
|
||||
return dbM.GetRateProfileRatesDrvF(ctx, tnt, id, rtPrfx, needIDs)
|
||||
}
|
||||
return nil, nil, utils.ErrNotImplemented
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user