ApierV1.GetCost and ApierV1.GetDataCost accept *now as AnswerTime

This commit is contained in:
TeoV
2018-09-03 07:53:33 -04:00
committed by Dan Christian Bogos
parent 249ba0e487
commit d9cb9c25ae
4 changed files with 110 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ func testTutorialGetCost(t *testing.T) {
Category: "call",
Subject: "1001",
Destination: "1002",
AnswerTime: time.Now(),
AnswerTime: "*now",
Usage: "2m10s",
}
var rply *engine.EventCost