Skip to content

Commit c0113c2

Browse files
committed
fix test
1 parent 6afc970 commit c0113c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Get-DbaInstanceList.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Describe $CommandName -Tag UnitTests {
99
Context "Parameter validation" {
1010
It "Should have the expected parameters" {
1111
$hasParameters = (Get-Command $CommandName).Parameters.Values.Name | Where-Object { $PSItem -notin ("WhatIf", "Confirm") }
12-
$expectedParameters = $TestConfig.CommonParameters
12+
$expectedParameters = @($TestConfig.CommonParameters)
1313
Compare-Object -ReferenceObject $expectedParameters -DifferenceObject $hasParameters | Should -BeNullOrEmpty
1414
}
1515
}

0 commit comments

Comments
 (0)