mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Test for default value for answer time in cdrsql
This commit is contained in:
committed by
Dan Christian Bogos
parent
5cbd7e6e5c
commit
a5bb814426
@@ -686,7 +686,7 @@ func TestCDRAsCDRsql(t *testing.T) {
|
||||
Subject: "1001",
|
||||
Destination: "+4986517174963",
|
||||
SetupTime: time.Date(2013, 11, 7, 8, 42, 20, 0, time.UTC),
|
||||
AnswerTime: time.Date(2013, 11, 7, 8, 42, 26, 0, time.UTC),
|
||||
AnswerTime: utils.TimePointer(time.Date(2013, 11, 7, 8, 42, 26, 0, time.UTC)),
|
||||
Usage: cdr.Usage.Nanoseconds(),
|
||||
Cost: cdr.Cost,
|
||||
ExtraFields: utils.ToJSON(cdr.ExtraFields),
|
||||
@@ -716,7 +716,7 @@ func TestCDRNewCDRFromSQL(t *testing.T) {
|
||||
Subject: "1001",
|
||||
Destination: "+4986517174963",
|
||||
SetupTime: time.Date(2013, 11, 7, 8, 42, 20, 0, time.UTC),
|
||||
AnswerTime: time.Date(2013, 11, 7, 8, 42, 26, 0, time.UTC),
|
||||
AnswerTime: utils.TimePointer(time.Date(2013, 11, 7, 8, 42, 26, 0, time.UTC)),
|
||||
Usage: 10000000000,
|
||||
Cost: 1.01,
|
||||
RequestType: utils.MetaRated,
|
||||
|
||||
Reference in New Issue
Block a user