Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.depend.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
}
'Pester' = @{
Version = '5.7.1'
Version = '6.0.1'
Parameters = @{
SkipPublisherCheck = $true
}
Expand Down
6 changes: 3 additions & 3 deletions tests/Help.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Describe "Test help for <_.Name>" -ForEach $commands {
($commandHelp.Examples.Example.Remarks | Select-Object -First 1).Text | Should -Not -BeNullOrEmpty
}

It 'Help link <_> is valid' -ForEach $helpLinks {
It 'Help link <_> is valid' -ForEach $helpLinks -AllowNullOrEmptyForEach {
$currentProgressPreference = $ProgressPreference
$ProgressPreference = 'SilentlyContinue'
$invokeWebRequestParameters = @{
Expand All @@ -175,7 +175,7 @@ Describe "Test help for <_.Name>" -ForEach $commands {
$statusCode | Should -Be '200'
}

Context 'Parameter <_.Name>' -Foreach $commandParameters {
Context 'Parameter <_.Name>' -Foreach $commandParameters -AllowNullOrEmptyForEach {

BeforeAll {
$parameter = $_
Expand Down Expand Up @@ -220,7 +220,7 @@ Describe "Test help for <_.Name>" -ForEach $commands {
}
}

Context 'Test <_> help parameter help for <commandName>' -Foreach $helpParameterNames {
Context 'Test <_> help parameter help for <commandName>' -Foreach $helpParameterNames -AllowNullOrEmptyForEach {

# Shouldn't find extra parameters in help
It 'finds help parameter in code: <_>' {
Expand Down
2 changes: 1 addition & 1 deletion tests/Manifest.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Describe 'Module manifest' {
$changelogVersion -as [Version] | Should -Be ( $manifestData.Version -as [Version] )
}

Context 'Module Dependency' -ForEach $dependencies {
Context 'Module Dependency' -ForEach $dependencies -AllowNullOrEmptyForEach {
# This ensures we keep our dependent modules in sync between the manifest file and the requirements
# script used to bootstrap and test.
BeforeAll {
Expand Down