Skip to content

Commit

Permalink
Fix integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed May 10, 2024
1 parent 740f7ab commit 227a694
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ Describe 'Prerequisites' {
}

Context 'Install correct version of module SqlServer' {
It 'Should have the minimum required version of Microsoft.PowerShell.PSResourceGet' {
It 'Should have the minimum required version of Microsoft.PowerShell.PSResourceGet' -Tag @('Integration_SQL2016', 'Integration_SQL2017', 'Integration_SQL2019', 'Integration_SQL2022') {
$module = Get-Module -Name 'Microsoft.PowerShell.PSResourceGet' -ListAvailable

$module | Should -HaveCount 1
$module.Version -ge '1.0.4.1' | Should -BeTrue
}

It 'Should have a resource repository PSGallery with correct URI' {
It 'Should have a resource repository PSGallery with correct URI' -Tag @('Integration_SQL2016', 'Integration_SQL2017', 'Integration_SQL2019', 'Integration_SQL2022') {
$resourceRepository = Get-PSResourceRepository -Name 'PSGallery'

$resourceRepository | Should -HaveCount 1
Expand Down

0 comments on commit 227a694

Please sign in to comment.