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) {
51
51
{ @ (' Get' , ' Set' , ' Test' ) -contains $_ } {
52
52
" Operation: $Operation " | Write-DscTrace
53
53
54
- if (( $inputobj.resources.properties.TestCaseId -eq 1 ) -or ( $_ -eq ' Export ' )) {
54
+ if ($inputobj.resources.properties.TestCaseId -eq 1 ) {
55
55
" Is TestCaseId 1" | Write-DscTrace
56
56
@ {result = @ (@ {name = $inputobj.resources.name ; type = $inputobj.resources.type ; properties = @ {' TestCaseId' = 1 ; ' Input' = ' ' }})} | ConvertTo-Json - Depth 10 - Compress
57
57
}
58
58
59
59
}
60
60
' Export' {
61
61
@ (@ {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
63
63
}
64
64
' Validate' {
65
65
@ { valid = $true } | ConvertTo-Json
You can’t perform that action at this time.
0 commit comments