diff --git a/tests/Unit/DSC_SqlSetup.Tests.ps1 b/tests/Unit/DSC_SqlSetup.Tests.ps1 index c3e1cf259..085d96d1f 100644 --- a/tests/Unit/DSC_SqlSetup.Tests.ps1 +++ b/tests/Unit/DSC_SqlSetup.Tests.ps1 @@ -1947,6 +1947,10 @@ Describe 'SqlSetup\Test-TargetResource' -Tag 'Test' { } } + Mock -CommandName Get-FilePathMajorVersion -MockWith { + return '16' + } + Mock -CommandName Get-FilePathMajorVersion -MockWith { return '15' }