Commit 00fc2e25 by bergquist

test(alerting): fixes broken unittest

parent 72e23bca
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment