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' {
271
271
$out = dsc config get - i $yaml 2>&1 | Out-String
272
272
$LASTEXITCODE | Should - Be 2
273
273
$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 *"
275
275
}
276
276
}
Original file line number Diff line number Diff line change @@ -228,6 +228,6 @@ resources:
228
228
$out = dsc - l trace config get - i $yaml 2>&1 | Out-String
229
229
$LASTEXITCODE | Should - Be 2
230
230
$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 *"
232
232
}
233
233
}
You can’t perform that action at this time.
0 commit comments