diff --git a/Tests/Public/Connect-ZertoServer.Tests.ps1 b/Tests/Public/Connect-ZertoServer.Tests.ps1 index 5dadc5a..493b660 100644 --- a/Tests/Public/Connect-ZertoServer.Tests.ps1 +++ b/Tests/Public/Connect-ZertoServer.Tests.ps1 @@ -41,6 +41,7 @@ Describe $file.BaseName -Tag Unit { it "port variable has a non-mandatory String parameter" { Get-Command $file.BaseName | Should -HaveParameter zertoPort -Not -Mandatory Get-Command $file.BaseName | Should -HaveParameter zertoPort -Type String + Get-Command $file.BaseName | Should -HaveParameter zertoPort -DefaultValue "9669" } it "port variable does not accecpt an empty or null input" {