Skip to content

Commit ef2a9e2

Browse files
committed
Removed Get-MDSCredential shortcut used for personal testing
1 parent b1eb911 commit ef2a9e2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Tests/PoshServiceNow.Tests.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ if(Test-Path $DefaultsFile){
1515
$defaults."$($_.Name)" = $_.Value
1616
}
1717

18-
###########################
19-
#
20-
#Cheating here with the credentials
21-
#
22-
###########################
23-
$defaults.Creds = (Get-MDSCredential User)
24-
2518
# Prompt for credentials
2619
$defaults.Creds = if($defaults.Creds){$defaults.Creds}else{Get-Credential}
2720

0 commit comments

Comments
 (0)