We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f71f4 commit ab66036Copy full SHA for ab66036
tests/Integration/Commands/Get-SqlDscInstalledInstance.Integration.Tests.ps1
@@ -32,7 +32,7 @@ Describe 'Get-SqlDscInstalledInstance' {
32
It 'Should return an array of objects' {
33
$result = Get-SqlDscInstalledInstance
34
35
- $result | Should -BeOfType ([System.Object[]])
+ $result | Should -BeGreaterOrEqual 1
36
}
37
38
@@ -41,6 +41,7 @@ Describe 'Get-SqlDscInstalledInstance' {
41
It 'Should return the specified instance when it exists' {
42
$result = Get-SqlDscInstalledInstance -InstanceName 'PBIRS'
43
44
+ $result | Should -BeOfType ([System.Management.Automation.PSCustomObject])
45
$result.InstanceName | Should -Be 'PBIRS'
46
47
0 commit comments