@@ -24,19 +24,23 @@ Describe 'Discover extension tests' {
24
24
$out = dsc extension list | ConvertFrom-Json
25
25
$LASTEXITCODE | Should - Be 0
26
26
if ($IsWindows ) {
27
- $out.Count | Should - Be 3 - Because ($out | Out-String )
27
+ $out.Count | Should - Be 4 - Because ($out | Out-String )
28
28
$out [0 ].type | Should - Be ' Microsoft.DSC.Extension/Bicep'
29
29
$out [0 ].version | Should - Be ' 0.1.0'
30
30
$out [0 ].capabilities | Should - BeExactly @ (' import' )
31
31
$out [0 ].manifest | Should -Not - BeNullOrEmpty
32
- $out [1 ].type | Should - Be ' Microsoft.Windows.Appx/Discover '
32
+ $out [1 ].type | Should - Be ' Microsoft.DSC.Extension/WindowsPowerShell '
33
33
$out [1 ].version | Should - Be ' 0.1.0'
34
- $out [1 ].capabilities | Should - BeExactly @ (' discover ' )
34
+ $out [1 ].capabilities | Should - BeExactly @ (' import ' )
35
35
$out [1 ].manifest | Should -Not - BeNullOrEmpty
36
- $out [2 ].type | Should - BeExactly ' Test /Discover'
37
- $out [2 ].version | Should - BeExactly ' 0.1.0'
36
+ $out [2 ].type | Should - Be ' Microsoft.Windows.Appx /Discover'
37
+ $out [2 ].version | Should - Be ' 0.1.0'
38
38
$out [2 ].capabilities | Should - BeExactly @ (' discover' )
39
39
$out [2 ].manifest | Should -Not - BeNullOrEmpty
40
+ $out [3 ].type | Should - BeExactly ' Test/Discover'
41
+ $out [3 ].version | Should - BeExactly ' 0.1.0'
42
+ $out [3 ].capabilities | Should - BeExactly @ (' discover' )
43
+ $out [3 ].manifest | Should -Not - BeNullOrEmpty
40
44
} else {
41
45
$out.Count | Should - Be 2 - Because ($out | Out-String )
42
46
$out [0 ].type | Should - Be ' Microsoft.DSC.Extension/Bicep'
0 commit comments