From ab85b198542239c8824143b5a0adc4578c10e20d Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Fri, 22 Feb 2019 12:03:18 -0500 Subject: [PATCH] Update Connect-ZertoServer tests to reflect proper path. --- Tests/Public/Connect-ZertoServer.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Public/Connect-ZertoServer.Tests.ps1 b/Tests/Public/Connect-ZertoServer.Tests.ps1 index a0d48b7..17d1668 100644 --- a/Tests/Public/Connect-ZertoServer.Tests.ps1 +++ b/Tests/Public/Connect-ZertoServer.Tests.ps1 @@ -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