Skip to content

Commit

Permalink
because Kevin Keegan went to Hamburg
Browse files Browse the repository at this point in the history
  • Loading branch information
SQLDBAWithABeard committed Dec 13, 2023
1 parent 6b63331 commit cdc6431
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- added pester tests to check that changelog is edited.
- and a space for the demos

### Changed

Expand Down
3 changes: 0 additions & 3 deletions source/checks/Instancev5.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BeforeDiscovery {
[string[]]$NotContactable = (Get-PSFConfig -Module dbachecks -Name global.notcontactable).Value
# Get all the tags in use in this run
$Tags = Get-CheckInformation -Check $Check -Group Instance -AllChecks $AllChecks -ExcludeCheck $ChecksToExclude

$InstancesToTest = @(Get-Instance).ForEach{
# just add it to the Not Contactable list
if ($NotContactable -notcontains $psitem) {
Expand Down Expand Up @@ -57,7 +56,6 @@ Describe "<_.Tag> failed on <_.Name>" -Tag FailedConnections -ForEach $TestsNoGo
}
}


# Ordered alphabetically by unique tag please
Describe "Ad Hoc Distributed Queries" -Tag AdHocDistributedQueriesEnabled, security, CIS, Medium, Instance -ForEach $InstancesToTest {
$skip = ($__dbcconfig | Where-Object { $_.Name -eq 'skip.instance.AdHocDistributedQueriesEnabled' }).Value
Expand Down Expand Up @@ -96,7 +94,6 @@ Describe "Backup Path Access" -Tag BackupPathAccess, Storage, DISA, Medium, Inst
}
}


Describe "CLR Enabled" -Tag CLREnabled, security, CIS, High, Instance -ForEach $InstancesToTest {
$skip = ($__dbcconfig | Where-Object { $_.Name -eq 'skip.instance.CLREnabled' }).Value
Context "Testing CLR Enabled on <_.Name>" {
Expand Down

0 comments on commit cdc6431

Please sign in to comment.