Mark as pending tests not working with ConsoleHost

This commit is contained in:
Andrew Schwartzmeyer
2016-05-17 13:28:44 -07:00
parent 533a5e3225
commit c3eaf9a77e
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -86,12 +86,12 @@ set-psbreakpoint -command foo
Remove-PSBreakPoint -Id $brk.Id
}
It "Should throw Exception when missing mandatory parameter -line"{
It "Should throw Exception when missing mandatory parameter -line" -Pending {
$output = & $ps -noninteractive -command "sbp -column 1 -script $scriptFileName"
[system.string]::Join(" ", $output) | Should Match "MissingMandatoryParameter,Microsoft.PowerShell.Commands.SetPSBreakpointCommand"
}
It "Should throw Exception when missing mandatory parameter" {
It "Should throw Exception when missing mandatory parameter" -Pending {
$output = & $ps -noprofile -noninteractive -command "sbp -line 1"
[system.string]::Join(" ", $output) | Should Match "MissingMandatoryParameter,Microsoft.PowerShell.Commands.SetPSBreakpointCommand"
}
+3 -3
View File
@@ -35,11 +35,11 @@
}
}
It "all mandatory params works" {
It "all mandatory params works" -Pending {
{ write-progress -activity 'myactivity' -status 'mystatus' } | Should Not Throw
}
It "all params works" {
It "all params works" -Pending {
{ write-progress -activity 'myactivity' -status 'mystatus' -id 1 -parentId 2 -completed:$false -current 'current' -sec 1 -percent 1 } | Should Not Throw
}
}
}