You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$output=$text| dsc resource get -r Microsoft.Windows/Registry
71
71
$output=$output|ConvertFrom-Json
72
-
$output.actualState.'$id'| Should -BeExactly 'https://developer.microsoft.com/json-schemas/windows/registry/20230303/Microsoft.Windows.Registry.schema.json'
73
72
$output.actualState.keyPath| Should -BeExactly 'HKLM\Software\Microsoft\Windows NT\CurrentVersion'
74
73
$output.actualState.valueName| Should -BeExactly 'ProductName'
75
74
$output.actualState.valueData.String| Should -Match'Windows .*'
Copy file name to clipboardExpand all lines: dsc/tests/dsc_get.tests.ps1
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,6 @@ Describe 'resource get tests' {
32
32
$output=$json| dsc resource get -r $resource
33
33
$LASTEXITCODE| Should -Be 0
34
34
$output=$output|ConvertFrom-Json
35
-
$output.actualState.'$id'| Should -BeExactly 'https://developer.microsoft.com/json-schemas/windows/registry/20230303/Microsoft.Windows.Registry.schema.json'
36
35
$output.actualState.keyPath| Should -BeExactly 'HKLM\Software\Microsoft\Windows NT\CurrentVersion'
37
36
$output.actualState.valueName| Should -BeExactly 'ProductName'
38
37
$output.actualState.valueData.String| Should -Match'Windows .*'
0 commit comments