Skip to content

Commit

Permalink
fix diag for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niphlod committed Feb 21, 2025
1 parent f8a6ddc commit 8155f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/Invoke-DbaQuery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ function Invoke-DbaQuery {
Leverages your own parameters, giving you full power, mimicking Connect-DbaInstance's `-MultiSubnetFailover -ConnectTimeout 60`, to adhere to official guidelines to target FCI or AG listeners.
See https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#connecting-with-multisubnetfailover
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "Needed to re-auth as different user for ad")]
[CmdletBinding(DefaultParameterSetName = "Query")]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "Needed to re-auth as different user for ad")]
param (
[Parameter(ValueFromPipeline)]
[Parameter(ParameterSetName = 'Query', Position = 0)]
Expand Down
2 changes: 1 addition & 1 deletion tests/Disable-DbaDbEncryption.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Describe "Disable-DbaDbEncryption" -Tag "IntegrationTests" {
}

It "Should complete without warnings" {
$warn | Should -BeNullOrEmpty
$warn | Where-Object { $_ -notlike '*Connect-DbaInstance*'} | Should -BeNullOrEmpty
}

It "Should disable encryption" {
Expand Down

0 comments on commit 8155f80

Please sign in to comment.