test(alerting): fixes broken unit test

pull/5890/head
bergquist 9 years ago
parent 99e99922b4
commit cb6fd4ca78
  1. 2
      pkg/services/alerting/rule_test.go

@ -75,7 +75,7 @@ func TestAlertRuleModel(t *testing.T) {
alertRule, err := NewRuleFromDBAlert(alert)
So(err, ShouldBeNil)
So(alertRule.Conditions, ShouldHaveLength, 1)
So(len(alertRule.Conditions), ShouldEqual, 1)
Convey("Can read notifications", func() {
So(len(alertRule.Notifications), ShouldEqual, 2)

Loading…
Cancel
Save