Skip to content

Commit

Permalink
remove S0019 from testing to prevent false fails
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyEwings committed Jun 14, 2023
1 parent e810875 commit 39ab142
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spec/acceptance/pe_status_check_spec.rb
Expand Up @@ -5,11 +5,14 @@

# Tests pe_status_check class for default behaviours, no notification on all facts passing
# Ensures default PE deployment passes all test cases
# removes s0019 as its always a false positive
describe 'pe_status_check class' do
context 'activates module default parameters' do
it 'applies the class with default parameters' do
pp = <<-MANIFEST
include pe_status_check
class {'pe_status_check':
indicator_exclusions => ['S0019'],
}
MANIFEST
idempotent_apply(pp)
end
Expand Down Expand Up @@ -38,7 +41,7 @@
it 'if in the exclude list a parameter should not notify' do
ppp = <<-MANIFEST
class {'pe_status_check':
indicator_exclusions => ['S0001'],
indicator_exclusions => ['S0001,S0019'],
}
MANIFEST
idempotent_apply(ppp)
Expand Down

0 comments on commit 39ab142

Please sign in to comment.