Skip to content

Commit

Permalink
Match on "Other Account Logon Events" rather than "Credential Validat…
Browse files Browse the repository at this point in the history
…ion" to work around issue ayohrling#93.
  • Loading branch information
silug committed Jul 2, 2020
1 parent a72a094 commit fada612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/suites/02_event_audit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
apply_manifest(manifest, 'catch_changes' => true)
end

xit 'sets the value correctly' do # Value appears to be set to the default of 'Success'
it 'sets the value correctly' do
hosts.each do |host|
value = on(host, 'auditpol /get /category:*')
expect(value.output).to match(%r{^\s*Credential Validation\s*No Auditing$})
expect(value.output).to match(%r{^\s*Other Account Logon Events\s*No Auditing$})
end
end
end
Expand Down

0 comments on commit fada612

Please sign in to comment.