Commit 4b53ea0a by utkarshcmu

Fixed pagerduty tests

parent 638d3bcb
...@@ -47,7 +47,7 @@ func TestPagerdutyNotifier(t *testing.T) { ...@@ -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)
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment