From c28257ee3a600ae3898b21af3391f4abf6200238 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Sun, 31 Mar 2019 21:46:58 -0400 Subject: [PATCH] Add Default Value Test --- Tests/Public/Connect-ZertoServer.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) 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" {