Skip to content

Commit 8a8cdd7

Browse files
committed
ADO V2 feed does not return CompanyName property, test for Author instead
1 parent d9a3378 commit 8a8cdd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,14 @@ Describe 'Test Install-PSResource for V3Server scenarios' -tags 'CI' {
132132
$pkg.Version | Should -Be "5.0.0"
133133
}
134134

135-
It "Install resource with companyname and repository source location and validate properties" {
135+
It "Install resource with author and repository source location and validate properties" {
136+
# CompanyName is not present in ADO V2 feed response properties.
136137
Install-PSResource -Name $testModuleName -Version "5.2.5-alpha001" -Repository $ADORepoName -TrustRepository
137138
$pkg = Get-InstalledPSResource $testModuleName
138139
$pkg.Version | Should -Be "5.2.5"
139140
$pkg.Prerelease | Should -Be "alpha001"
140141

141-
$pkg.CompanyName | Should -Be "None"
142+
$pkg.Author | Should -Be "None"
142143
$pkg.RepositorySourceLocation | Should -Be $ADORepoUri
143144
}
144145

0 commit comments

Comments
 (0)