From f728ece2db9d45e7a78d31992082700b3fb4931d Mon Sep 17 00:00:00 2001 From: Sofia Papagiannaki Date: Mon, 12 Oct 2020 10:29:20 +0300 Subject: [PATCH] Fix test --- pkg/services/alerting/extractor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }) }) })