Skip to content

Commit 953f9a8

Browse files
committed
Fix integ test
1 parent 71416f9 commit 953f9a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Integration/Resources/DSC_SqlRSSetup.Integration.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,17 +172,17 @@ Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2017',
172172

173173
if (Test-ContinuousIntegrationTaskCategory -Category 'Integration_SQL2017')
174174
{
175-
$resourceCurrentState.CurrentVersion | Should -BeGreaterThan ([System.Version] '14.0.0.0')
175+
$resourceCurrentState.ProductVersion | Should -BeGreaterThan ([System.Version] '14.0.0.0')
176176
}
177177

178178
if (Test-ContinuousIntegrationTaskCategory -Category 'Integration_SQL2019')
179179
{
180-
$resourceCurrentState.CurrentVersion | Should -BeGreaterThan ([System.Version] '15.0.0.0')
180+
$resourceCurrentState.ProductVersion | Should -BeGreaterThan ([System.Version] '15.0.0.0')
181181
}
182182

183183
if (Test-ContinuousIntegrationTaskCategory -Category 'Integration_SQL2022')
184184
{
185-
$resourceCurrentState.CurrentVersion | Should -BeGreaterThan ([System.Version] '16.0.0.0')
185+
$resourceCurrentState.ProductVersion | Should -BeGreaterThan ([System.Version] '16.0.0.0')
186186
}
187187
}
188188

0 commit comments

Comments
 (0)