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 3717af6 commit c6a21e8Copy full SHA for c6a21e8
powershell-adapter/Tests/powershellgroup.config.tests.ps1
@@ -252,6 +252,7 @@ Describe 'PowerShell adapter resource tests' {
252
"@
253
$out = dsc config get -i $yaml | ConvertFrom-Json
254
$LASTEXITCODE | Should -Be 0
255
- $out.results[0].result.actualState.result[0].properties.Credential.UserName | Should -Be 'User'
+ $out.results.result.actualState.result.properties.Credential.UserName | Should -Be 'User'
256
+ $out.results.result.actualState.result.properties.Credential.Password.Length | Should -Not -BeNullOrEmpty
257
}
258
0 commit comments