Skip to content

Commit 68cacfc

Browse files
authored
Merge pull request #72 from alagoutte/typo-test
common(Tests): Need to load credential.ps1 before...
2 parents 8119004 + bf38b08 commit 68cacfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/common.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ else {
1515
$script:pester_longint = "long"
1616
}
1717

18+
. ../credential.ps1
1819
$script:invokeParams = @{
1920
server = $ipaddress;
2021
token = $token;
@@ -26,7 +27,6 @@ if ($null -eq $port) {
2627
$invokeParams.port = 443
2728
}
2829

29-
. ../credential.ps1
3030
#TODO: Add check if no ipaddress/token info...
3131
Connect-ArubaCP @invokeParams
3232
$script:MySecurePassword = ConvertTo-SecureString MyPassword -AsPlainText -Force

0 commit comments

Comments
 (0)