mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update integration test for ers
This commit is contained in:
committed by
Dan Christian Bogos
parent
0b231afef4
commit
45a2c3516d
@@ -115,6 +115,7 @@ func TestAMQPER(t *testing.T) {
|
||||
Event: map[string]interface{}{
|
||||
"CGRID": randomCGRID,
|
||||
},
|
||||
Opts: map[string]interface{}{},
|
||||
}
|
||||
if !reflect.DeepEqual(ev.cgrEvent, expected) {
|
||||
t.Errorf("Expected %s ,received %s", utils.ToJSON(expected), utils.ToJSON(ev.cgrEvent))
|
||||
|
||||
@@ -234,6 +234,7 @@ func testSQLReader(t *testing.T) {
|
||||
Event: map[string]interface{}{
|
||||
"CGRID": cdr.CGRID,
|
||||
},
|
||||
Opts: map[string]interface{}{},
|
||||
}
|
||||
if !reflect.DeepEqual(ev.cgrEvent, expected) {
|
||||
t.Errorf("Expected %s ,received %s", utils.ToJSON(expected), utils.ToJSON(ev.cgrEvent))
|
||||
@@ -267,6 +268,7 @@ func testSQLReader2(t *testing.T) {
|
||||
Event: map[string]interface{}{
|
||||
"CGRID": cdr.CGRID,
|
||||
},
|
||||
Opts: map[string]interface{}{},
|
||||
}
|
||||
if !reflect.DeepEqual(ev.cgrEvent, expected) {
|
||||
t.Errorf("Expected %s ,received %s", utils.ToJSON(expected), utils.ToJSON(ev.cgrEvent))
|
||||
|
||||
Reference in New Issue
Block a user