From 6df80c1aeef72a3528ae3a5e37faa3de840318a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Wed, 1 Jul 2020 10:23:44 +0200 Subject: [PATCH] fix(tests): Force pester v4 (#4040) --- test/bin/init.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bin/init.ps1 b/test/bin/init.ps1 index 96ad6e94f3..75dc0fd9b9 100644 --- a/test/bin/init.ps1 +++ b/test/bin/init.ps1 @@ -1,7 +1,7 @@ Write-Host "PowerShell: $($PSVersionTable.PSVersion)" (7z.exe | Select-String -Pattern '7-Zip').ToString() Write-Host "Install dependencies ..." -Install-Module -Repository PSGallery -Scope CurrentUser -Force -Name Pester -SkipPublisherCheck +Install-Module -Repository PSGallery -Scope CurrentUser -Force -Name Pester -RequiredVersion 4.10.1 -SkipPublisherCheck Install-Module -Repository PSGallery -Scope CurrentUser -Force -Name PSScriptAnalyzer,BuildHelpers if ($env:CI_WINDOWS -eq $true) {