From f68319005f95c82eaa8615fdf7635c97295074d4 Mon Sep 17 00:00:00 2001 From: Saravana Raj Balasubramanian Date: Wed, 4 Sep 2024 20:16:22 +0530 Subject: [PATCH] version 16 --- tests/Unit/DSC_SqlSetup.Tests.ps1 | 4 ++++ 1 file changed, 4 insertions(+) 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' }