replaced storageGetter with dataStorage

This commit is contained in:
Radu Ioan Fericean
2013-12-17 22:37:51 +02:00
parent e03bbc9b96
commit 4638bad4d1
8 changed files with 31 additions and 31 deletions

View File

@@ -269,9 +269,9 @@ func BenchmarkRatingPlanRestore(b *testing.B) {
EndTime: "15:00:00"}}
rp := &RatingPlan{Id: "test"}
rp.AddRateInterval("NAT", i)
storageGetter.SetRatingPlan(rp)
dataStorage.SetRatingPlan(rp)
b.ResetTimer()
for i := 0; i < b.N; i++ {
storageGetter.GetRatingPlan(rp.Id, true)
dataStorage.GetRatingPlan(rp.Id, true)
}
}