()
| 118 | } |
| 119 | |
| 120 | func (h *TestHub) Cleanup() { |
| 121 | h.GetAlertManager().Stop() |
| 122 | h.GetSystemManager().RemoveAllSystems() |
| 123 | h.TestApp.Cleanup() |
| 124 | } |
| 125 | |
| 126 | func CreateSystems(app core.App, count int, userId string, status string) ([]*core.Record, error) { |
| 127 | systems := make([]*core.Record, 0, count) |