diff --git a/test/InstallPSResourceTests/InstallPSResourceADOServer.Tests.ps1 b/test/InstallPSResourceTests/InstallPSResourceADOServer.Tests.ps1 index fbf32c59e..4d3a364cd 100644 --- a/test/InstallPSResourceTests/InstallPSResourceADOServer.Tests.ps1 +++ b/test/InstallPSResourceTests/InstallPSResourceADOServer.Tests.ps1 @@ -132,13 +132,12 @@ Describe 'Test Install-PSResource for V3Server scenarios' -tags 'CI' { $pkg.Version | Should -Be "5.0.0" } - It "Install resource with companyname and repository source location and validate properties" { + It "Install resource with repository source location and validate properties" { Install-PSResource -Name $testModuleName -Version "5.2.5-alpha001" -Repository $ADORepoName -TrustRepository $pkg = Get-InstalledPSResource $testModuleName $pkg.Version | Should -Be "5.2.5" $pkg.Prerelease | Should -Be "alpha001" - $pkg.CompanyName | Should -Be "None" $pkg.RepositorySourceLocation | Should -Be $ADORepoUri } diff --git a/test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1 b/test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1 index 3d53fb8c8..8696d4132 100644 --- a/test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1 +++ b/test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1 @@ -132,13 +132,12 @@ Describe 'Test Install-PSResource for V3Server scenarios' -tags 'CI' { $pkg.Version | Should -Be "5.0.0" } - It "Install resource with companyname and repository source location and validate properties" { + It "Install resource with repository source location and validate properties" { Install-PSResource -Name $testModuleName -Version "5.2.5-alpha001" -Repository $ADORepoName -TrustRepository $pkg = Get-InstalledPSResource $testModuleName $pkg.Version | Should -Be "5.2.5" $pkg.Prerelease | Should -Be "alpha001" - $pkg.CompanyName | Should -Be "None" $pkg.RepositorySourceLocation | Should -Be $ADORepoUri } diff --git a/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 b/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 index 493495282..2816bff57 100644 --- a/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 +++ b/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1 @@ -17,14 +17,14 @@ Describe 'Test Install-PSResource for local repositories' -tags 'CI' { $localRepo = "psgettestlocal" $localUNCRepo = "psgettestlocal3" $localNupkgRepo = "LocalNupkgRepo" - $localNupkgRepoUri = "test\testFiles\testNupkgs" + $localNupkgRepoUri = "testFiles\testNupkgs" $testModuleName = "test_local_mod" $testModuleName2 = "test_local_mod2" $testModuleClobber = "testModuleClobber" $testModuleClobber2 = "testModuleClobber2" Get-NewPSResourceRepositoryFile Register-LocalRepos - Register-PSResourceRepository -Name $localNupkgRepo -SourceLocation $localNupkgRepoUri + Register-PSResourceRepository -Name $localNupkgRepo -Uri $localNupkgRepoUri $prereleaseLabel = "alpha001" $tags = @()