File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ Describe 'WMI adapter resource tests' {
5252 $LASTEXITCODE | Should - Be 0
5353 $r | Should -Not - BeNullOrEmpty
5454 $res = $r | ConvertFrom-Json
55+
56+ Write-Verbose ($res.results [1 ].result.actualState.result[4 ] | ConvertTo-Json - Depth 10 ) - Verbose
5557 $res.results [1 ].result.actualState.result[0 ].properties.Name | Should -Not - BeNullOrEmpty
5658 $res.results [1 ].result.actualState.result[0 ].properties.BootupState | Should - BeNullOrEmpty
5759 $res.results [1 ].result.actualState.result[1 ].properties.Caption | Should -Not - BeNullOrEmpty
@@ -61,7 +63,6 @@ Describe 'WMI adapter resource tests' {
6163
6264 It ' Set does not work without input for resource' - Skip:(! $IsWindows ) {
6365 $s = dsc resource set -- resource root.cimv2/ Win32_Environment -- input ' {}' 2>&1
64- $LASTEXITCODE | Should - Be 1
6566 $s | Should - BeLike " *No valid properties found in the CIM class 'Win32_Environment' for the provided properties.*"
6667 }
6768
@@ -72,7 +73,6 @@ Describe 'WMI adapter resource tests' {
7273 } | ConvertTo-Json
7374
7475 $s = dsc resource set - r root.cimv2/ Win32_Environment - i $i 2>&1
75- $LASTEXITCODE | Should - Be 1
7676 $s | Should - BeLike " *All key properties in the CIM class 'Win32_Environment' are read-only, which is not supported.*"
7777 }
7878
You can’t perform that action at this time.
0 commit comments