feat(alerting): add frequency back to alert model

This commit is contained in:
bergquist
2016-06-17 08:27:38 +02:00
parent 1771ab032e
commit e8a324c7f5
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@ func TestAlertingDataAccess(t *testing.T) {
Name: "Alerting title",
Description: "Alerting description",
Settings: simplejson.New(),
Frequency: 1,
},
}
@@ -52,6 +53,7 @@ func TestAlertingDataAccess(t *testing.T) {
So(alert.Name, ShouldEqual, "Alerting title")
So(alert.Description, ShouldEqual, "Alerting description")
So(alert.State, ShouldEqual, "OK")
So(alert.Frequency, ShouldEqual, 1)
})
Convey("Alerts with same dashboard id and panel id should update", func() {