Skip to content

Commit 5b4d9c8

Browse files
committed
Update integration tests to include SQL Server 2025 in module version checks
1 parent a832ada commit 5b4d9c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Integration/Commands/Prerequisites.Integration.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ Describe 'Prerequisites' {
228228
$module.Version -eq '21.1.18256' | Should -BeTrue
229229
}
230230

231-
It 'Should install SqlServer module version 22.2.0' -Tag @('Integration_SQL2022', 'Integration_PowerBI', 'Integration_SQL2017_RS', 'Integration_SQL2019_RS', 'Integration_SQL2022_RS') {
231+
It 'Should install SqlServer module version 22.2.0' -Tag @('Integration_SQL2022', 'Integration_SQL2025', 'Integration_PowerBI', 'Integration_SQL2017_RS', 'Integration_SQL2019_RS', 'Integration_SQL2022_RS') {
232232
#Install-Module -Name 'SqlServer' -RequiredVersion '22.2.0' -Force -ErrorAction 'Stop'
233233
$module = Install-PSResource -Name 'SqlServer' -Version '22.2.0' -Scope 'AllUsers' -TrustRepository -ErrorAction 'Stop' -Confirm:$false -PassThru
234234

235235
$module | Should -HaveCount 1
236236
$module.Version -eq '22.2.0' | Should -BeTrue
237237
}
238238

239-
It 'Should have SqlServer module version 22.2.0 available' -Tag @('Integration_SQL2022', 'Integration_PowerBI', 'Integration_SQL2017_RS', 'Integration_SQL2019_RS', 'Integration_SQL2022_RS') {
239+
It 'Should have SqlServer module version 22.2.0 available' -Tag @('Integration_SQL2022', 'Integration_SQL2025', 'Integration_PowerBI', 'Integration_SQL2017_RS', 'Integration_SQL2019_RS', 'Integration_SQL2022_RS') {
240240
$module = Get-Module -Name 'SqlServer' -ListAvailable
241241

242242
$module | Should -HaveCount 1

0 commit comments

Comments
 (0)