We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd32cd8 commit 4c71f1dCopy full SHA for 4c71f1d
1 file changed
test/CredentialProvider.Tests.ps1
@@ -25,12 +25,8 @@ Describe 'Test Azure Artifacts Credential Provider' -tags 'CI' {
25
}
26
27
It "Find resource given specific Name and Repository" {
28
- # Get user-level environment variable
29
- $vssVar = Get-ItemProperty -Path "HKCU:\Environment" -Name "VSS_NUGET_EXTERNAL_FEED_ENDPOINTS"
30
-
31
- Write-Host "$($vssVar.VSS_NUGET_EXTERNAL_FEED_ENDPOINTS)"
32
33
- Write-Host "$vssVar"
+ Write-Host "Var: $env:VSS_NUGET_EXTERNAL_FEED_ENDPOINTS"
+
34
$res = Find-PSResource -Name $TestModuleName -Repository $ADORepoName -Verbose
35
$res.Name | Should -Be $TestModuleName
36
0 commit comments