Update Get-ZertoDatastore.Tests.ps1
This commit is contained in:
1 parent
2465305ddf
commit
28c35115eb
1 file changed
+5
@@ -16,4 +16,9 @@ Describe $file.BaseName -Tag 'Unit' {
|
||||
$null = [System.Management.Automation.PSParser]::Tokenize($contents, [ref]$errors)
|
||||
$errors | Should -HaveCount 0
|
||||
}
|
||||
|
||||
It "has a non-mandatory string parameter for the datacenterIdentifier" {
|
||||
Get-Command $file.BaseName | Should -HaveParameter datastoreIdentifier
|
||||
Get-Command $file.BaseName | Should -HaveParameter datastoreIdentifier -Type String[]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user