From 42c9cd19e39c9e73261da53d0005a98170e2afa4 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Thu, 8 Aug 2019 15:28:02 +0300 Subject: [PATCH] Updated apier/v1 integration test --- apier/v1/apier2_it_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apier/v1/apier2_it_test.go b/apier/v1/apier2_it_test.go index 84a7fc057..5039b757c 100644 --- a/apier/v1/apier2_it_test.go +++ b/apier/v1/apier2_it_test.go @@ -190,7 +190,7 @@ func testAPIerGetRatingPlanCost3(t *testing.T) { t.Error(err) } else if reply.RatingPlanID != "RP_1002" { t.Error("Unexpected RatingPlanID: ", reply.RatingPlanID) - } else if *reply.EventCost.Cost != 36 { + } else if *reply.EventCost.Cost != 6.5118 { t.Error("Unexpected Cost: ", *reply.EventCost.Cost) } else if *reply.EventCost.Usage != time.Duration(time.Hour) { t.Error("Unexpected Usage: ", *reply.EventCost.Usage)