test(alerting): fixes broken unittests

This commit is contained in:
bergquist
2016-06-10 13:47:54 +02:00
parent 3c0b5fe78e
commit ea8fb66f73
14 changed files with 88 additions and 121 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func GetAlertRuleChanges(query *m.GetAlertChangesQuery) error {
return nil
}
func SaveAlertChange(change string, alert *m.AlertRuleDAO, sess *xorm.Session) error {
func SaveAlertChange(change string, alert *m.AlertRuleModel, sess *xorm.Session) error {
_, err := sess.Insert(&m.AlertRuleChange{
OrgId: alert.OrgId,
Type: change,