update integration test

This commit is contained in:
Radu Ioan Fericean
2016-03-24 13:24:31 +02:00
parent bf745d1ea5
commit 73286e3c71

View File

@@ -1294,10 +1294,10 @@ func TestApierResetDataAfterLoadFromFolder(t *testing.T) {
if err := rater.Call("ApierV1.GetCacheStats", args, &rcvStats); err != nil {
t.Error("Got error on ApierV1.GetCacheStats: ", err.Error())
} else {
if rcvStats.Destinations != 4 ||
rcvStats.RatingPlans != 3 ||
rcvStats.RatingProfiles != 3 ||
rcvStats.Actions != 6 ||
if rcvStats.Destinations != 5 ||
rcvStats.RatingPlans != 4 ||
rcvStats.RatingProfiles != 4 ||
rcvStats.Actions != 7 ||
rcvStats.DerivedChargers != 2 {
t.Errorf("Calling ApierV1.GetCacheStats received: %+v", rcvStats)
}