File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ resources:
179
179
180
180
$out = dsc - l debug config set - i $yaml 2> " $testdrive /error.log" | ConvertFrom-Json
181
181
$LASTEXITCODE | Should - Be 0 - Because (Get-Content - Path " $testdrive /error.log" - Raw | Out-String )
182
- $out.results [0 ].result.afterState.Credential | Should - BeNullOrEmpty
183
182
}
184
183
185
184
It ' Config does not work when credential properties are missing required fields' {
Original file line number Diff line number Diff line change @@ -38,6 +38,6 @@ Describe 'reboot_pending resource tests' -Skip:(!$IsWindows -or !$isElevated) {
38
38
It ' reboot_pending should have a reason' {
39
39
$out = dsc resource get - r Microsoft.Windows/ RebootPending | ConvertFrom-Json
40
40
$LASTEXITCODE | Should - Be 0
41
- $out.actualState.reason.count | Should - BeGreaterThan 0 - Because ($out | Out-String )
41
+ $out.actualState.reason.count | Should - BeGreaterThan 0 - Because ($out | ConvertTo-Json - Depth 10 | Out-String )
42
42
}
43
43
}
You can’t perform that action at this time.
0 commit comments