File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ if ($Test) {
518
518
(Get-Module - Name Pester - ListAvailable).Path
519
519
}
520
520
521
- Invoke-Pester - ErrorAction Stop
521
+ Invoke-Pester - ErrorAction Stop - Output Detailed - Verbose
522
522
}
523
523
524
524
function Find-MakeAppx () {
Original file line number Diff line number Diff line change @@ -321,10 +321,12 @@ Describe 'PowerShell adapter resource tests' {
321
321
Name: 'TestClassResource'
322
322
Ensure: 'Present'
323
323
"@
324
- $out = dsc - l trace config set - i $yaml - w | ConvertFrom-Json
324
+ $out = dsc config set - i $yaml - w | ConvertFrom-Json
325
+
326
+ Write-Verbose - Message (" Output: $ ( $out | ConvertTo-Json - Depth 10 ) " ) - Verbose
325
327
$LASTEXITCODE | Should - Be 0
326
- $out.results.result.afterstate.Result [0 ].name | Should - Be " TestClassResource"
327
- $out.results.result.afterState .result [0 ]._metadata.whatIf | Should - Be " A test message from the WhatIf method of TestClassResource"
328
+ $out.results.result.afterstate.result [0 ].name | Should - Be " TestClassResource"
329
+ $out.results.result.afterstate .result [0 ]._metadata.whatIf | Should - Be " A test message from the WhatIf method of TestClassResource"
328
330
}
329
331
}
330
332
You can’t perform that action at this time.
0 commit comments