From 227a694e11c65e2a3d73618b71d93f5ce3eba448 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Fri, 10 May 2024 16:06:01 +0200 Subject: [PATCH] Fix integ test --- .../Integration/Commands/Prerequisites.Integration.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 b/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 index de72bc6a0..35c004830 100644 --- a/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 +++ b/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 @@ -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