mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
Cover tests in sessions
This commit is contained in:
committed by
Dan Christian Bogos
parent
69b674d50a
commit
93c35dd105
@@ -397,7 +397,7 @@ func (ec *EventCost) AsCallCost(tor string) *CallCost {
|
||||
if l := len(cIl.Increments); l != 0 {
|
||||
if cIl.Increments[l-1].Cost != 0 &&
|
||||
ec.Accounting[cIl.Increments[l-1].AccountingID].RatingID == utils.MetaRounding {
|
||||
// special case: if the last increment has the ratingID equal to *roundig
|
||||
// special case: if the last increment has the ratingID equal to *rounding
|
||||
// we consider it as the roundIncrement
|
||||
l--
|
||||
incrs = incrs[:l]
|
||||
|
||||
Reference in New Issue
Block a user