mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add ability to ERS to update or move ERS SQL events to a new table & add *export flag for ERS readers
This commit is contained in:
committed by
Dan Christian Bogos
parent
a2b86e1a02
commit
d35b14b6b9
@@ -155,8 +155,12 @@ func TestPrepareMap(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("PrepareMap() returned an error: %v", err)
|
||||
}
|
||||
if result != nil {
|
||||
t.Errorf("PrepareMap() returned a non-nil result: %v", result)
|
||||
exp := &sqlPosterRequest{
|
||||
Querry: "INSERT INTO (``) VALUES ();",
|
||||
Values: make([]any, 0),
|
||||
}
|
||||
if !reflect.DeepEqual(exp, result) {
|
||||
t.Errorf("Expected <%+v>, Received <%+v>", utils.ToJSON(exp), utils.ToJSON(result))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user