using DestinationContainsPrefix method

This commit is contained in:
Radu Ioan Fericean
2013-09-30 22:07:39 +03:00
parent eec68807ba
commit 552aa0904f
6 changed files with 19 additions and 15 deletions

View File

@@ -529,7 +529,7 @@ func TestLoadRatingProfiles(t *testing.T) {
rp := csvr.ratingProfiles["*out:CUSTOMER_1:0:rif:from:tm"]
expected := &RatingProfile{}
if reflect.DeepEqual(rp, expected) {
t.Errorf("Error loading rating profile: %#v", rp.DestinationMap["GERMANY"][1].RateIntervals[2].Rates[0])
t.Errorf("Error loading rating profile: %+v", rp.DestinationMap["GERMANY"][1].RateIntervals[2].Rates[0])
}
}