Просмотр исходного кода

alerting: tests default value for disable resolve message

bergquist 7 лет назад
Родитель
Сommit
5566a61aef
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      pkg/services/sqlstore/alert_notification_test.go

+ 1 - 0
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)