[Feature]Fix regressions that cause implicit remoting tests to fail (#4326)
This commit is contained in:
parent
76e184b0ba
commit
905e6978e6
|
@ -1782,7 +1782,7 @@ Describe "Implicit remoting tests" -tags "Feature" {
|
|||
Get-Item Function:\Get-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
|
||||
## BadVerb-Variable should be a function, not an alias (1)
|
||||
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Not Be $null
|
||||
|
||||
## BadVerb-Variable should be a function, not an alias (2)
|
||||
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
|
@ -1822,7 +1822,7 @@ Describe "Implicit remoting tests" -tags "Feature" {
|
|||
Get-Item Function:\Get-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
|
||||
## BadVerb-Variable should be a function, not an alias (1)
|
||||
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Not Be $null
|
||||
|
||||
## BadVerb-Variable should be a function, not an alias (2)
|
||||
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
|
@ -1873,7 +1873,7 @@ Describe "Implicit remoting tests" -tags "Feature" {
|
|||
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
|
||||
## BadVerb-Variable should be an alias, not a function (2)
|
||||
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
|
||||
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Not Be $null
|
||||
|
||||
(BadVerb-Variable -Name pid).Value | Should Be $remotePid
|
||||
} finally {
|
||||
|
|
Loading…
Reference in a new issue