File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ Describe 'whatif tests' {
38
38
$what_if_result = $config_yaml | dsc config set - w | ConvertFrom-Json
39
39
$set_result = $config_yaml | dsc config set | ConvertFrom-Json
40
40
$what_if_result.metadata .' Microsoft.DSC' .executionType | Should - BeExactly ' WhatIf'
41
- $what_if_result.results.result.beforeState._exist | Should - Be $false
41
+ $what_if_result.results.result.beforeState._exist | Should - Be $set_result .results.result.beforeState._exist
42
42
$what_if_result.results.result.beforeState.keyPath | Should - Be $set_result.results.result.beforeState.keyPath
43
43
$what_if_result.results.result.afterState.KeyPath | Should - Be $set_result.results.result.afterState.keyPath
44
- $what_if_result.results.result.changedProperties | Should - Be @ ( ' _exist ' )
44
+ $what_if_result.results.result.changedProperties | Should - Be $set_result .results.result.changedProperties
45
45
$what_if_result.hadErrors | Should - BeFalse
46
46
$what_if_result.results.Count | Should - Be 1
47
47
$LASTEXITCODE | Should - Be 0
You can’t perform that action at this time.
0 commit comments