Ver Fonte

Fixed pagerduty tests

utkarshcmu há 9 anos atrás
pai
commit
4b53ea0a56
1 ficheiros alterados com 1 adições e 1 exclusões
  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)
 			})
 
 		})