We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3185157 commit 29d0d4dCopy full SHA for 29d0d4d
powershell-adapter/Tests/win_powershellgroup.tests.ps1
@@ -220,7 +220,7 @@ resources:
220
It 'Set works with class-based PS DSC resources' {
221
$out = dsc resource set -r PSClassResource/PSClassResource --input (@{Name = 'TestName'; Credential = @{"UserName" = "MyUser"; "Password" = "MyPassword"} } | ConvertTo-Json) 2> "$testdrive/error.log" | ConvertFrom-Json
222
$LASTEXITCODE | Should -Be 0 -Because (Get-Content -Path "$testdrive/error.log" -Raw | Out-String)
223
- $out.afterState.inDesiredState | Should -Be $true -Because ($out | ConvertTo-Json | Out-String)
+ $out.changedProperties.Count | Should -Be 0 -Because ($out | ConvertTo-Json -Depth 10 | Out-String)
224
}
225
226
It 'Export works with class-based PS DSC resources' {
0 commit comments