diff --git a/apier/v1/cache_replication_it_test.go b/apier/v1/cache_replication_it_test.go index 99d2087f8..c35b6a515 100644 --- a/apier/v1/cache_replication_it_test.go +++ b/apier/v1/cache_replication_it_test.go @@ -212,7 +212,6 @@ func testCacheSReplicateProcessRateProfile(t *testing.T) { exp := &engine.RateProfileCost{ ID: "RT_SPECIAL_1002", Cost: 0.01, - RateSIntervals: []*engine.RateSInterval{{ UsageStart: 0, Increments: []*engine.RateSIncrement{{ diff --git a/apier/v1/rateprofiles_it_test.go b/apier/v1/rateprofiles_it_test.go index 3c4199035..2b6362185 100644 --- a/apier/v1/rateprofiles_it_test.go +++ b/apier/v1/rateprofiles_it_test.go @@ -540,7 +540,7 @@ func testV1RatePrfRemoveRateProfileRates(t *testing.T) { ID: "RT_CHRISTMAS", Weights: utils.DynamicWeights{ { - Weight: 0, + Weight: 30, }, }, ActivationTimes: "* * 24 12 *", @@ -868,7 +868,7 @@ func testV1RateCostForEventWithDefault(t *testing.T) { APIRateProfile: &engine.APIRateProfile{ ID: "DefaultRate", FilterIDs: []string{"*string:~*req.Subject:1001"}, - Weights: ";0", + Weights: ";10", Rates: map[string]*engine.APIRate{ "RATE1": &engine.APIRate{ ID: "RATE1", @@ -929,7 +929,6 @@ func testV1RateCostForEventWithDefault(t *testing.T) { t.Error(err) } else if !reflect.DeepEqual(exp, rply) { t.Errorf("Expected %+v \n, received %+v", utils.ToJSON(exp), utils.ToJSON(rply)) - } }