Skip to content

Commit 1e5c8cb

Browse files
committed
update test
1 parent 2f6d89f commit 1e5c8cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dsc/tests/dsc_resource_list.tests.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ Describe 'Tests for listing resources' {
8484
}
8585

8686
It 'Capabilities are returned' {
87-
$resource = dsc resource list Microsoft/OSInfo | ConvertFrom-Json
87+
$resource = dsc resource list Microsoft.DSC.Debug/Echo | ConvertFrom-Json
8888
$LASTEXITCODE | Should -Be 0
89-
$resource.capabilities.Count | Should -Be 2
89+
$resource.capabilities.Count | Should -Be 4
9090
$resource.capabilities | Should -Contain 'get'
91+
$resource.capabilities | Should -Contain 'set'
92+
$resource.capabilities | Should -Contain 'test'
9193
$resource.capabilities | Should -Contain 'export'
9294
}
9395

0 commit comments

Comments
 (0)