File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
110110 to correctly reflect that ` ConvertFrom-SqlDscDatabasePermission ` test does not
111111 require database instance connectivity
112112 [ issue #2284 ] ( https://github.com/dsccommunity/SqlServerDsc/issues/2284 ) .
113+ - Updated unit test assertion in ` Get-SqlDscSetupLog.Tests.ps1 ` to use
114+ ` Should -BeFalse ` instead of ` Should -Contain $false ` to comply with DSC
115+ Community Pester style guidelines
116+ [ issue #2315 ] ( https://github.com/dsccommunity/SqlServerDsc/issues/2315 ) .
113117- Added integration tests for ` Set-SqlDscAudit ` command to ensure it functions
114118 correctly in real environments
115119 [ issue #2236 ] ( https://github.com/dsccommunity/SqlServerDsc/issues/2236 ) .
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ Describe 'Get-SqlDscSetupLog' -Tag 'Public' {
284284
285285 It ' Should have Path as an optional parameter' {
286286 $commandInfo = Get-Command - Name ' Get-SqlDscSetupLog'
287- $commandInfo.Parameters [' Path' ].Attributes.Mandatory | Should - Contain $false
287+ $commandInfo.Parameters [' Path' ].Attributes.Mandatory | Should - BeFalse
288288 }
289289
290290 It ' Should have the correct output type' {
You can’t perform that action at this time.
0 commit comments