test(alerting): improve unit test

This commit is contained in:
bergquist
2016-05-09 15:19:11 +02:00
parent 9da2e6e907
commit b2cf2e877a

View File

@ -96,7 +96,7 @@ func TestAlertingStateAccess(t *testing.T) {
Convey("should not get any alerts with critical state", func() {
query := &m.GetAlertsQuery{
OrgId: 1,
State: []string{"Critical"},
State: []string{"Critical", "Warn"},
}
err := HandleAlertsQuery(query)