You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context "Testing DBA Operators exists on <_.Name>" {
74
-
It "The Operator <_.ExpectedOperatorName> exists on <_.Name>"-Skip:$skipOperatorName-ForEach ($PSItem.Operator|Where-Object ExpectedOperatorName -ne'null') {
80
+
It "The Operator <_.ExpectedOperatorName> exists on <_.Name>"-Skip:$skipOperatorName-ForEach ($PSItem.Operator|Where-Object ExpectedOperatorName -NE'null') {
75
81
$PSItem.ExpectedOperatorName| Should -BeIn $PSItem.ActualOperatorName-Because 'This Operator is expected to exist'
76
82
}
77
83
78
-
It "The Operator email <_.ExpectedOperatorEmail> is correct on <_.Name>"-Skip:$skipOperatorEamil-ForEach ($PSItem.Operator|Where-Object ExpectedOperatorEmail -ne'null') {
84
+
It "The Operator email <_.ExpectedOperatorEmail> is correct on <_.Name>"-Skip:$skipOperatorEmail-ForEach ($PSItem.Operator|Where-Object ExpectedOperatorEmail -NE'null') {
79
85
$PSItem.ExpectedOperatorEmail| Should -BeIn $PSItem.ActualOperatorEmail-Because 'This operator email is expected to exist'
Context "Testing failsafe Operators exists on <_.Name>" {
95
+
It "The Failsafe operator <_.FailSafeOperator> exists on <_.Name>"-Skip:$skipFailsafeoperator-ForEach ($PSItem.JobServer.AlertSystem|Where-Object FailSafeOperator -NE$null) {
96
+
$PSItem.ExpectedFailSafeOperator| Should -Be $failsafeoperator-Because 'The failsafe operator will ensure that any job failures will be notified to someone if not set explicitly'
0 commit comments