Skip to content

Commit

Permalink
fix more types
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Oct 17, 2024
1 parent 3ebd5d3 commit 38dc090
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/Grant-DbaAgPermission.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Describe "Grant-DbaAgPermission" {
$CommandUnderTest | Should -HaveParameter Permission -Type String[]
}
It "Should have InputObject as a parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type Login[]
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.Smo.Login[]
}
It "Should have EnableException as a parameter" {
$CommandUnderTest | Should -HaveParameter EnableException -Type Switch
Expand Down
2 changes: 1 addition & 1 deletion tests/Move-DbaRegServer.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Describe "Move-DbaRegServer" {
$CommandUnderTest | Should -HaveParameter Group -Type String
}
It "Should have InputObject as a parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type RegisteredServer[]
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer[]
}
It "Should have EnableException as a parameter" {
$CommandUnderTest | Should -HaveParameter EnableException -Type Switch
Expand Down
2 changes: 1 addition & 1 deletion tests/Remove-DbaLogin.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Describe "Remove-DbaLogin" {
$CommandUnderTest | Should -HaveParameter Login -Type String[] -Mandatory:$false
}
It "Should have InputObject as a parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type Login[] -Mandatory:$false
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.Smo.Login[] -Mandatory:$false
}
It "Should have Force as a parameter" {
$CommandUnderTest | Should -HaveParameter Force -Type Switch -Mandatory:$false
Expand Down
2 changes: 1 addition & 1 deletion tests/Remove-DbaRegServer.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Describe "Remove-DbaRegServer" {
$CommandUnderTest | Should -HaveParameter Group -Type String[]
}
It "Should have InputObject as a parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type RegisteredServer[]
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer[]
}
It "Should have EnableException as a parameter" {
$CommandUnderTest | Should -HaveParameter EnableException -Type Switch
Expand Down
2 changes: 1 addition & 1 deletion tests/Revoke-DbaAgPermission.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Describe "Revoke-DbaAgPermission" {
$CommandUnderTest | Should -HaveParameter Permission -Type String[]
}
It "Should have InputObject as a parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type Login[]
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.Smo.Login[]
}
It "Should have EnableException as a parameter" {
$CommandUnderTest | Should -HaveParameter EnableException -Type Switch
Expand Down
2 changes: 1 addition & 1 deletion tests/Set-DbaLogin.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Describe "Set-DbaLogin" {
$command | Should -HaveParameter PasswordExpirationEnabled -Type Switch -Mandatory:$false
$command | Should -HaveParameter AddRole -Type String[] -Mandatory:$false
$command | Should -HaveParameter RemoveRole -Type String[] -Mandatory:$false
$command | Should -HaveParameter InputObject -Type Login[] -Mandatory:$false
$command | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.Smo.Login[] -Mandatory:$false
$command | Should -HaveParameter Force -Type Switch -Mandatory:$false
$command | Should -HaveParameter EnableException -Type Switch -Mandatory:$false
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Test-DbaLoginPassword.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Describe "Test-DbaLoginPassword" {
$CommandUnderTest | Should -HaveParameter Dictionary -Type String[]
}
It "Should have InputObject parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type Login[]
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.Smo.Login[]
}
It "Should have EnableException parameter" {
$CommandUnderTest | Should -HaveParameter EnableException -Type Switch
Expand Down
2 changes: 1 addition & 1 deletion tests/Test-DbaWindowsLogin.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Describe "Test-DbaWindowsLogin" {
$CommandUnderTest | Should -HaveParameter IgnoreDomains -Type String[] -Mandatory:$false
}
It "Should have InputObject parameter" {
$CommandUnderTest | Should -HaveParameter InputObject -Type Login[] -Mandatory:$false
$CommandUnderTest | Should -HaveParameter InputObject -Type Microsoft.SqlServer.Management.Smo.Login[] -Mandatory:$false
}
It "Should have EnableException parameter" {
$CommandUnderTest | Should -HaveParameter EnableException -Type Switch -Mandatory:$false
Expand Down

0 comments on commit 38dc090

Please sign in to comment.