From 5566a61aef2aa3dc750a2408688324d4c6bb9b95 Mon Sep 17 00:00:00 2001 From: bergquist Date: Wed, 17 Oct 2018 09:53:03 +0200 Subject: [PATCH] alerting: tests default value for disable resolve message --- pkg/services/sqlstore/alert_notification_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/sqlstore/alert_notification_test.go b/pkg/services/sqlstore/alert_notification_test.go index 1b922783bcb..680685a6d22 100644 --- a/pkg/services/sqlstore/alert_notification_test.go +++ b/pkg/services/sqlstore/alert_notification_test.go @@ -219,6 +219,7 @@ func TestAlertNotificationSQLAccess(t *testing.T) { So(cmd.Result.OrgId, ShouldNotEqual, 0) So(cmd.Result.Type, ShouldEqual, "email") So(cmd.Result.Frequency, ShouldEqual, 10*time.Second) + So(cmd.Result.DisableResolvedMessage, ShouldBeFalse) Convey("Cannot save Alert Notification with the same name", func() { err = CreateAlertNotificationCommand(cmd)