Skip to content

Commit 37bb1f3

Browse files
Ignore ProgressAction parameter
1 parent 0ebbaae commit 37bb1f3

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

pwsh_module/command.tests.ps1

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,9 @@ Describe "test bolt command syntax" {
7171
}
7272

7373
It "has correct number of parameters" {
74-
$customParams = $command.Parameters.Values | Where-Object {
75-
$_.Name -notin $common
76-
}
77-
78-
Write-Host "Custom parameters:"
79-
$customParams | ForEach-Object { Write-Host " - $($_.Name)" }
80-
81-
($customParams | Measure-Object).Count | Should -Be 35
74+
($command.Parameters.Values | Where-Object {
75+
$_.name -notin $common
76+
} | measure-object).Count | Should -Be 35
8277
}
8378
}
8479

0 commit comments

Comments
 (0)