Started tests for VMCFirewall.

Fixed incorrect function call in sddc version test.
This commit is contained in:
Conor Tolan
2019-02-27 22:23:05 +00:00
parent 3e09f0a601
commit bbc6d0f775
2 changed files with 76 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ inModuleScope VMware.VMC {
Assert-MockCalled -CommandName Get-VMCOrg -Times 1 -Scope It -ParameterFilter { $Name -eq $OrgId }
}
It "calls get-service to com.vmware.vmc.orgs.sddcs" {
{ Get-VMCSDDC -Org $OrgId } | Should Not Throw
{ Get-VMCSDDCVersion -Org $OrgId } | Should Not Throw
Assert-MockCalled -CommandName Get-VMCService -Times 1 -Scope It -ParameterFilter { $name -eq $Service }
}
# Testing a single SDDC response