File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ Describe 'New-AsBuiltReport Unit Tests' {
2020 ($TargetParam.Attributes | Where-Object { $_ -is [System.Management.Automation.ParameterAttribute ] }).Mandatory | Should - Contain $true
2121 }
2222
23- It ' Should have OutputFolderPath parameter as mandatory' {
24- $OutputParam = $Command.Parameters [' OutputFolderPath' ]
25- ($OutputParam.Attributes | Where-Object { $_ -is [System.Management.Automation.ParameterAttribute ] }).Mandatory | Should - Contain $true
26- }
27-
2823 It ' Should have Credential parameter in Credential parameter set' {
2924 $CredentialParam = $Command.Parameters [' Credential' ]
3025 $CredentialParam | Should -Not - BeNullOrEmpty
@@ -80,6 +75,10 @@ Describe 'New-AsBuiltReport Unit Tests' {
8075 $TargetParam.ParameterType.Name | Should - Be ' String[]'
8176 }
8277
78+ It ' Should have OutputFolderPath parameter' {
79+ $Command.Parameters.Keys | Should - Contain ' OutputFolderPath'
80+ }
81+
8382 It ' Should have Timestamp parameter' {
8483 $Command.Parameters.Keys | Should - Contain ' Timestamp'
8584 }
You can’t perform that action at this time.
0 commit comments