Added mock write-host to clean up output.
Added the general creation of the $object needed to mock the function.
This commit is contained in:
@@ -22,6 +22,8 @@ Describe "$functionName" -Tag 'Unit' {
|
||||
return $object
|
||||
}
|
||||
|
||||
Mock Write-host {}
|
||||
|
||||
Mock Connect-VIServer {}
|
||||
|
||||
Mock Connect-CisServer {}
|
||||
|
||||
Reference in New Issue
Block a user