Skip to content

Commit ab66036

Browse files
authored
fix integ
1 parent c1f71f4 commit ab66036

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Integration/Commands/Get-SqlDscInstalledInstance.Integration.Tests.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Describe 'Get-SqlDscInstalledInstance' {
3232
It 'Should return an array of objects' {
3333
$result = Get-SqlDscInstalledInstance
3434

35-
$result | Should -BeOfType ([System.Object[]])
35+
$result | Should -BeGreaterOrEqual 1
3636
}
3737
}
3838

@@ -41,6 +41,7 @@ Describe 'Get-SqlDscInstalledInstance' {
4141
It 'Should return the specified instance when it exists' {
4242
$result = Get-SqlDscInstalledInstance -InstanceName 'PBIRS'
4343

44+
$result | Should -BeOfType ([System.Management.Automation.PSCustomObject])
4445
$result.InstanceName | Should -Be 'PBIRS'
4546
}
4647

0 commit comments

Comments
 (0)