Add new unit tests on engine

This commit is contained in:
armirveliaj
2024-06-20 09:45:13 -04:00
committed by Dan Christian Bogos
parent d02df49f53
commit a945fccad6
5 changed files with 372 additions and 0 deletions

View File

@@ -667,3 +667,11 @@ func TestExportRequestSetFields2(t *testing.T) {
t.Error(err)
}
}
func TestExportRequestString(t *testing.T) {
eeR := &ExportRequest{}
jsonStr := eeR.String()
if jsonStr == "" {
t.Errorf("Expected non-empty JSON string, but got empty")
}
}