File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,6 @@ Describe 'PowerShell adapter resource tests' {
271271 $out = dsc config get - i $yaml 2>&1 | Out-String
272272 $LASTEXITCODE | Should - Be 2
273273 $out | Should -Not - BeNullOrEmpty
274- $out | Should - BeLike " *ERROR*The PSCredential property 'Credential' is missing required fields *"
274+ $out | Should - BeLike " *ERROR*Credential object 'Credential' requires both 'username' and 'password' properties *"
275275 }
276276}
Original file line number Diff line number Diff line change @@ -228,6 +228,6 @@ resources:
228228 $out = dsc - l trace config get - i $yaml 2>&1 | Out-String
229229 $LASTEXITCODE | Should - Be 2
230230 $out | Should -Not - BeNullOrEmpty
231- $out | Should - BeLike " *ERROR*The PSCredential property 'Credential' is missing required fields *"
231+ $out | Should - BeLike " *ERROR*Credential object 'Credential' requires both 'username' and 'password' properties *"
232232 }
233233}
You can’t perform that action at this time.
0 commit comments