From 00fc2e259327804df6f562f60fdf11033afaa221 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 16 Jun 2016 09:09:09 +0200 Subject: [PATCH] test(alerting): fixes broken unittest --- pkg/services/alerting/notifier_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/services/alerting/notifier_test.go b/pkg/services/alerting/notifier_test.go index 23af5eb41cf..4249238cfa0 100644 --- a/pkg/services/alerting/notifier_test.go +++ b/pkg/services/alerting/notifier_test.go @@ -16,7 +16,6 @@ func TestAlertNotificationExtraction(t *testing.T) { Convey("Parsing email notification from settings", func() { json := ` { - "from": "alerting@grafana.org", "to": "ops@grafana.org" }` @@ -36,7 +35,6 @@ func TestAlertNotificationExtraction(t *testing.T) { email := not.Notifierr.(*EmailNotifier) So(email.To, ShouldEqual, "ops@grafana.org") - So(email.From, ShouldEqual, "alerting@grafana.org") }) Convey("Parsing webhook notification from settings", func() {