From d7a044658592de284417d667b9dc591bd1f99a37 Mon Sep 17 00:00:00 2001 From: DanB Date: Tue, 18 Feb 2014 11:06:09 +0100 Subject: [PATCH] Fixup localtests --- apier/tutfscsv_local_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apier/tutfscsv_local_test.go b/apier/tutfscsv_local_test.go index e24086020..fa4284bc9 100644 --- a/apier/tutfscsv_local_test.go +++ b/apier/tutfscsv_local_test.go @@ -102,7 +102,7 @@ func TestFsCsvRpcConn(t *testing.T) { return } var err error - rater, err = rpc.Dial("tcp", "127.0.0.1:2012") // ToDo: Fix here with config loaded from file + rater, err = rpc.Dial("tcp", "127.0.0.1:2013") // ToDo: Fix here with config loaded from file if err != nil { t.Fatal("Could not connect to rater: ", err.Error()) } @@ -144,7 +144,7 @@ func TestFsCsvLoadTariffPlans(t *testing.T) { t.Error("Calling ApierV1.LoadTariffPlanFromFolder got reply: ", reply) } var rcvStats *utils.CacheStats - expectedStats := &utils.CacheStats{Destinations: 3, RatingPlans: 1, RatingProfiles: 1, Actions: 2} + expectedStats := &utils.CacheStats{Destinations: 3, RatingPlans: 1, RatingProfiles: 1, Actions: 1} var args utils.AttrCacheStats if err := rater.Call("ApierV1.GetCacheStats", args, &rcvStats); err != nil { t.Error("Got error on ApierV1.GetCacheStats: ", err.Error())