Explorar o código

Fixed pagerduty tests

utkarshcmu %!s(int64=9) %!d(string=hai) anos
pai
achega
4b53ea0a56
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 			})
 
 		})