Skip to content

Commit b801a5e

Browse files
committed
fix test
1 parent eb15a53 commit b801a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/tests/dsc_export.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ resources:
176176
$out.resources.count | Should -Be 1
177177
$out.resources[0].name | Should -BeExactly 'TestName'
178178
$out.resources[0].kind | Should -BeExactly 'TestKind'
179-
$out.resources[0].metadata.securityContext | Should -BeExactly 'Elevated'
179+
$out.resources[0].metadata.'Microsoft.DSC'.securityContext | Should -BeExactly 'elevated'
180180
$out.resources[0].properties.psobject.properties.name | Should -Not -Contain '_kind'
181181
$out.resources[0].properties.psobject.properties.name | Should -Not -Contain '_securityContext'
182182
$out.resources[0].properties.psobject.properties.name | Should -Not -Contain '_name'

0 commit comments

Comments
 (0)