Skip to content

Commit

Permalink
common(Tests): Need to load credential.ps1 before...
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Apr 13, 2022
1 parent 8119004 commit bf38b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ else {
$script:pester_longint = "long"
}

. ../credential.ps1
$script:invokeParams = @{
server = $ipaddress;
token = $token;
Expand All @@ -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
Expand Down

0 comments on commit bf38b08

Please sign in to comment.