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:
arberkatellari
2024-12-10 20:05:23 +02:00
committed by Dan Christian Bogos
parent a2b86e1a02
commit d35b14b6b9
30 changed files with 1898 additions and 1036 deletions

View File

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