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 2abd9dd commit fc4d712Copy full SHA for fc4d712
powershell-adapter/Tests/powershellgroup.config.tests.ps1
@@ -251,9 +251,8 @@ Describe 'PowerShell adapter resource tests' {
251
Password: 'Password'
252
"@
253
$out = dsc config get -i $yaml | ConvertFrom-Json
254
- Write-Verbose -Message ($out | ConvertTo-Json -Depth 10 | Out-String) -Verbose
255
$LASTEXITCODE | Should -Be 0
256
- $out.results.result.actualState.result.properties.Credential.UserName | Should -Be 'User'
257
- $out.results.result.actualState.result.properties.Credential.Password.Length | Should -Not -BeNullOrEmpty
+ $out.results.result.actualstate.Credential.UserName | Should -Be 'User'
+ $out.results.result.actualState.result.Credential.Password.Length | Should -Be 8
258
}
259
s.ps1
0 commit comments