Explorar o código

test(alerting): improve unit test

bergquist %!s(int64=9) %!d(string=hai) anos
pai
achega
b2cf2e877a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/services/sqlstore/alert_state_test.go

+ 1 - 1
pkg/services/sqlstore/alert_state_test.go

@@ -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)