mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
coverage tests at engine
This commit is contained in:
committed by
Dan Christian Bogos
parent
8848bb6898
commit
d795283c20
@@ -749,7 +749,10 @@ func TestCDRNewCDRFromSQL(t *testing.T) {
|
||||
} else if !reflect.DeepEqual(cdr, eCDR) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", cdr, eCDR)
|
||||
}
|
||||
|
||||
cdrSQL.ExtraFields = "extrafield"
|
||||
if _, err := NewCDRFromSQL(cdrSQL); err == nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCDRAsCGREvent(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user