Add tests for Offline TariffPlans

This commit is contained in:
TeoV
2019-10-01 08:14:14 -04:00
committed by Dan Christian Bogos
parent 2c8d717007
commit d930e82886
43 changed files with 1555 additions and 233 deletions

View File

@@ -870,13 +870,6 @@ func (self *SQLStorage) GetSMCosts(cgrid, runid, originHost, originIDPrefix stri
return smCosts, nil
}
func (self *SQLStorage) LogActionTrigger(ubId, source string, at *ActionTrigger, as Actions) (err error) {
return
}
func (self *SQLStorage) LogActionTiming(source string, at *ActionTiming, as Actions) (err error) {
return
}
func (self *SQLStorage) SetCDR(cdr *CDR, allowUpdate bool) error {
tx := self.db.Begin()
cdrSql := cdr.AsCDRsql()