mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix Install PackageProvider failure because we are not running on administrator
This commit is contained in:
1 parent
c978927947
commit
50c3e5bfc8
4 files changed
+14
-11
No files matched your search
@@ -27,7 +27,6 @@ Describe "Get-package" -Tags @('BVT', 'DRT'){
|
||||
|
||||
Describe "Get-package with version parameter - valid scenarios" -Tags @('BVT', 'DRT'){
|
||||
$destination = Join-Path $TestDrive GetPackageTests
|
||||
$destination > C:\test.txt
|
||||
|
||||
It "Get-package supports -AllVersions parameter" -Skip {
|
||||
$outputWithAllVersions = (Get-Package -providername Programs,Msi -AllVersions)
|
||||
@@ -80,4 +79,4 @@ Describe "Get-package with version parameter - Error scenarios" -Tags @('BVT', '
|
||||
$ERROR[0].FullyQualifiedErrorId | should be "VersionRangeAndRequiredVersionCannotBeSpecifiedTogether,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackage"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user