Skip to content

Commit 29d0d4d

Browse files
SteveL-MSFTSteve Lee (POWERSHELL HE/HIM) (from Dev Box)
authored andcommitted
update test
1 parent 3185157 commit 29d0d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell-adapter/Tests/win_powershellgroup.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ resources:
220220
It 'Set works with class-based PS DSC resources' {
221221
$out = dsc resource set -r PSClassResource/PSClassResource --input (@{Name = 'TestName'; Credential = @{"UserName" = "MyUser"; "Password" = "MyPassword"} } | ConvertTo-Json) 2> "$testdrive/error.log" | ConvertFrom-Json
222222
$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)
223+
$out.changedProperties.Count | Should -Be 0 -Because ($out | ConvertTo-Json -Depth 10 | Out-String)
224224
}
225225

226226
It 'Export works with class-based PS DSC resources' {

0 commit comments

Comments
 (0)