utkarshcmu 9 лет назад
Родитель
Сommit
4b53ea0a56
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/services/alerting/notifiers/pagerduty_test.go

+ 1 - 1
pkg/services/alerting/notifiers/pagerduty_test.go

@@ -47,7 +47,7 @@ func TestPagerdutyNotifier(t *testing.T) {
 				So(pagerdutyNotifier.Name, ShouldEqual, "pagerduty_testing")
 				So(pagerdutyNotifier.Type, ShouldEqual, "pagerduty")
 				So(pagerdutyNotifier.Key, ShouldEqual, "abcdefgh0123456789")
-				So(pagerdutyNotifier.AlertOnExecError, ShouldContain, true)
+				So(pagerdutyNotifier.AlertOnExecError, ShouldEqual, true)
 			})
 
 		})