diff --git a/pkg/services/alerting/extractor_test.go b/pkg/services/alerting/extractor_test.go index 5204e47f68c..99f0e4c152d 100644 --- a/pkg/services/alerting/extractor_test.go +++ b/pkg/services/alerting/extractor_test.go @@ -271,7 +271,7 @@ func TestAlertRuleExtraction(t *testing.T) { Convey("Should fail on save", func() { _, err := extractor.GetAlerts() - So(err.Error(), ShouldEqual, "alert validation error: Panel id is not correct, alertName=Influxdb, panelId=1") + So(err.Error(), ShouldEqual, "alert validation error: Dashboard ID, Org ID or Panel ID is not correct, alertName=Influxdb, panelId=1, orgId=1, dashboardId=0") }) }) })