From bf38b085e43f7dd3b9eeb607ebc6454b26047c55 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 13 Apr 2022 07:49:16 +0200 Subject: [PATCH] common(Tests): Need to load credential.ps1 before... --- Tests/common.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/common.ps1 b/Tests/common.ps1 index b34e9b3..f0df0df 100644 --- a/Tests/common.ps1 +++ b/Tests/common.ps1 @@ -15,6 +15,7 @@ else { $script:pester_longint = "long" } +. ../credential.ps1 $script:invokeParams = @{ server = $ipaddress; token = $token; @@ -26,7 +27,6 @@ if ($null -eq $port) { $invokeParams.port = 443 } -. ../credential.ps1 #TODO: Add check if no ipaddress/token info... Connect-ArubaCP @invokeParams $script:MySecurePassword = ConvertTo-SecureString MyPassword -AsPlainText -Force