Update integration test for ers

This commit is contained in:
TeoV
2021-01-14 11:27:13 +02:00
committed by Dan Christian Bogos
parent 0b231afef4
commit 45a2c3516d
2 changed files with 3 additions and 0 deletions

View File

@@ -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))

View File

@@ -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))