diff --git a/apis/account_test.go b/apis/account_test.go index 66313f5fd..2a438aa82 100644 --- a/apis/account_test.go +++ b/apis/account_test.go @@ -1281,6 +1281,11 @@ func TestAccountDebitAbstracts(t *testing.T) { Opts: map[string]interface{}{ "Destination": 10, }, + CostIncrements: []*utils.APICostIncrement{ + { + Increment: utils.Float64Pointer(0.1), + }, + }, Units: 0, }, }, @@ -1327,6 +1332,11 @@ func TestAccountDebitAbstracts(t *testing.T) { "Destination": 10, }, Units: utils.NewDecimal(0, 0), + CostIncrements: []*utils.CostIncrement{ + { + Increment: utils.NewDecimal(1, 1), + }, + }, }, }, Weights: utils.DynamicWeights{ @@ -1435,6 +1445,11 @@ func TestAccountDebitAbstracts(t *testing.T) { Opts: map[string]interface{}{ "Destination": 10, }, + CostIncrements: []*utils.ExtCostIncrement{ + { + Increment: utils.Float64Pointer(0.1), + }, + }, Units: utils.Float64Pointer(0), }, }, @@ -1472,6 +1487,11 @@ func TestAccountActionSetBalance(t *testing.T) { Opts: map[string]interface{}{ "Destination": 10, }, + CostIncrements: []*utils.APICostIncrement{ + { + Increment: utils.Float64Pointer(0.1), + }, + }, Units: 0, }, }, @@ -1517,6 +1537,11 @@ func TestAccountActionSetBalance(t *testing.T) { Opts: map[string]interface{}{ "Destination": 10, }, + CostIncrements: []*utils.CostIncrement{ + { + Increment: utils.NewDecimal(1, 1), + }, + }, Units: utils.NewDecimal(0, 0), }, }, @@ -1626,6 +1651,11 @@ func TestAccountActionSetBalance(t *testing.T) { Opts: map[string]interface{}{ "Destination": 10, }, + CostIncrements: []*utils.ExtCostIncrement{ + { + Increment: utils.Float64Pointer(0.1), + }, + }, Units: utils.Float64Pointer(0), }, },