Skip to content

Commit fc4d712

Browse files
committed
Fix test
1 parent 2abd9dd commit fc4d712

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,8 @@ Describe 'PowerShell adapter resource tests' {
251251
Password: 'Password'
252252
"@
253253
$out = dsc config get -i $yaml | ConvertFrom-Json
254-
Write-Verbose -Message ($out | ConvertTo-Json -Depth 10 | Out-String) -Verbose
255254
$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
255+
$out.results.result.actualstate.Credential.UserName | Should -Be 'User'
256+
$out.results.result.actualState.result.Credential.Password.Length | Should -Be 8
258257
}
259258
}

s.ps1

Whitespace-only changes.

0 commit comments

Comments
 (0)