mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 06:02:49 +08:00
test(alerting): improve unit test
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user