Skip to content

Commit c6a21e8

Browse files
committed
Fix up test
1 parent 3717af6 commit c6a21e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

powershell-adapter/Tests/powershellgroup.config.tests.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ Describe 'PowerShell adapter resource tests' {
252252
"@
253253
$out = dsc config get -i $yaml | ConvertFrom-Json
254254
$LASTEXITCODE | Should -Be 0
255-
$out.results[0].result.actualState.result[0].properties.Credential.UserName | Should -Be 'User'
255+
$out.results.result.actualState.result.properties.Credential.UserName | Should -Be 'User'
256+
$out.results.result.actualState.result.properties.Credential.Password.Length | Should -Not -BeNullOrEmpty
256257
}
257258
}

0 commit comments

Comments
 (0)