Kaynağa Gözat

Fixed pagerduty tests

utkarshcmu 9 yıl önce
ebeveyn
işleme
4b53ea0a56

+ 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.Name, ShouldEqual, "pagerduty_testing")
 				So(pagerdutyNotifier.Type, ShouldEqual, "pagerduty")
 				So(pagerdutyNotifier.Type, ShouldEqual, "pagerduty")
 				So(pagerdutyNotifier.Key, ShouldEqual, "abcdefgh0123456789")
 				So(pagerdutyNotifier.Key, ShouldEqual, "abcdefgh0123456789")
-				So(pagerdutyNotifier.AlertOnExecError, ShouldContain, true)
+				So(pagerdutyNotifier.AlertOnExecError, ShouldEqual, true)
 			})
 			})
 
 
 		})
 		})