File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
powershell-adapter/Tests/TestAdapter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ switch ($Operation) {
5151 { @ (' Get' , ' Set' , ' Test' ) -contains $_ } {
5252 " Operation: $Operation " | Write-DscTrace
5353
54- if (( $inputobj.resources.properties.TestCaseId -eq 1 ) -or ( $_ -eq ' Export ' )) {
54+ if ($inputobj.resources.properties.TestCaseId -eq 1 ) {
5555 " Is TestCaseId 1" | Write-DscTrace
5656 @ {result = @ (@ {name = $inputobj.resources.name ; type = $inputobj.resources.type ; properties = @ {' TestCaseId' = 1 ; ' Input' = ' ' }})} | ConvertTo-Json - Depth 10 - Compress
5757 }
5858
5959 }
6060 ' Export' {
6161 @ (@ {name = $inputobj.resources.name ; type = $inputobj.resources.type ; properties = @ {' TestCaseId' = 1 ; ' Input' = ' ' }}) | ConvertTo-Json - Depth 10 - Compress
62- @ (@ {name = $inputobj.resources.name ; type = $inputobj.resources.type ; properties = @ {' TestCaseId' = 2 ; ' Input' = ' ' }}) | ConvertTo-Json - Depth 10 - Compress
62+ @ (@ {name = $inputobj.resources.name ; type = $inputobj.resources.type ; properties = @ {' TestCaseId' = 2 ; ' Input' = ' ' }}) | ConvertTo-Json - Depth 10 - Compress
6363 }
6464 ' Validate' {
6565 @ { valid = $true } | ConvertTo-Json
You can’t perform that action at this time.
0 commit comments