Update Connect-ZertoServer tests to reflect proper path.

This commit is contained in:
Wes Carroll
2019-02-22 12:03:18 -05:00
parent 80385d5475
commit ab85b19854
+1 -1
View File
@@ -2,7 +2,7 @@ $moduleFileName = "ZertoApiWrapper.psm1"
$filePath = (Split-Path -Parent $MyInvocation.MyCommand.Path) -replace 'Tests', 'ZertoApiWrapper'
$fileName = (Split-Path -Leaf $MyInvocation.MyCommand.Path ) -replace '.Tests.', '.'
$modulePath = $filePath -replace "Public", ""
Import-Module $modulePath/$moduleFileName -Force
Import-Module $modulePath\$moduleFileName -Force
$userName = "zerto\build"
$password = ConvertTo-SecureString -String "ZertoBuild" -AsPlainText -Force