Update Connect-ZertoServer tests to reflect proper path.
This commit is contained in:
@@ -2,7 +2,7 @@ $moduleFileName = "ZertoApiWrapper.psm1"
|
|||||||
$filePath = (Split-Path -Parent $MyInvocation.MyCommand.Path) -replace 'Tests', 'ZertoApiWrapper'
|
$filePath = (Split-Path -Parent $MyInvocation.MyCommand.Path) -replace 'Tests', 'ZertoApiWrapper'
|
||||||
$fileName = (Split-Path -Leaf $MyInvocation.MyCommand.Path ) -replace '.Tests.', '.'
|
$fileName = (Split-Path -Leaf $MyInvocation.MyCommand.Path ) -replace '.Tests.', '.'
|
||||||
$modulePath = $filePath -replace "Public", ""
|
$modulePath = $filePath -replace "Public", ""
|
||||||
Import-Module $modulePath/$moduleFileName -Force
|
Import-Module $modulePath\$moduleFileName -Force
|
||||||
|
|
||||||
$userName = "zerto\build"
|
$userName = "zerto\build"
|
||||||
$password = ConvertTo-SecureString -String "ZertoBuild" -AsPlainText -Force
|
$password = ConvertTo-SecureString -String "ZertoBuild" -AsPlainText -Force
|
||||||
|
|||||||
Reference in New Issue
Block a user