mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 05:39:54 +05:00
Updated apier/v1 integration test
This commit is contained in:
committed by
Dan Christian Bogos
parent
a08b190a4e
commit
42c9cd19e3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user