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 6afc970 commit c0113c2Copy full SHA for c0113c2
1 file changed
tests/Get-DbaInstanceList.Tests.ps1
@@ -9,7 +9,7 @@ Describe $CommandName -Tag UnitTests {
9
Context "Parameter validation" {
10
It "Should have the expected parameters" {
11
$hasParameters = (Get-Command $CommandName).Parameters.Values.Name | Where-Object { $PSItem -notin ("WhatIf", "Confirm") }
12
- $expectedParameters = $TestConfig.CommonParameters
+ $expectedParameters = @($TestConfig.CommonParameters)
13
Compare-Object -ReferenceObject $expectedParameters -DifferenceObject $hasParameters | Should -BeNullOrEmpty
14
}
15
0 commit comments