mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
test(alerting): fixes broken unit test
This commit is contained in:
parent
99e99922b4
commit
cb6fd4ca78
@ -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…
Reference in New Issue
Block a user