Correcting sms test

This commit is contained in:
DanB
2014-05-28 10:17:49 +02:00
parent e15a08d633
commit 7b2a452c4f

View File

@@ -69,14 +69,15 @@ func TestLoadCsvTpSmsChrg1(t *testing.T) {
}
func TestGetDataCostSmsChrg1(t *testing.T) {
usageDur := time.Duration(1) * time.Second
usageDur := time.Second
timeStart := time.Date(2014, 3, 4, 0, 0, 0, 0, time.Local)
cd := &engine.CallDescriptor{
Direction: "*out",
Category: "data",
Category: "sms",
Tenant: "cgrates.org",
Subject: "12345",
Account: "12345",
Destination: "+4917621621391",
TimeStart: timeStart,
TimeEnd: timeStart.Add(usageDur),
DurationIndex: usageDur,