Skip to content

Commit 317463d

Browse files
committed
Add -CredentialProvider None to existing ADO tests
1 parent d3154ed commit 317463d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/InstallPSResourceTests/InstallPSResourceADOServer.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Describe 'Test Install-PSResource for ADO V3Server scenarios' -tags 'CI' {
1414
$ADORepoName = "PSGetTestingPublicFeed"
1515
$ADORepoUri = "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/psresourceget-public-test-ci/nuget/v3/index.json"
1616
Get-NewPSResourceRepositoryFile
17-
Register-PSResourceRepository -Name $ADORepoName -Uri $ADORepoUri
17+
Register-PSResourceRepository -Name $ADORepoName -Uri $ADORepoUri -CredentialProvider "None"
1818
}
1919

2020
AfterEach {

test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Describe 'Test Install-PSResource for ADO V2Server scenarios' -tags 'CI' {
1414
$ADORepoName = "PSGetTestingPublicFeed"
1515
$ADORepoUri = "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/psresourceget-public-test-ci/nuget/v2"
1616
Get-NewPSResourceRepositoryFile
17-
Register-PSResourceRepository -Name $ADORepoName -Uri $ADORepoUri
17+
Register-PSResourceRepository -Name $ADORepoName -Uri $ADORepoUri -CredentialProvider None
1818
}
1919

2020
AfterEach {

0 commit comments

Comments
 (0)