Skip to content

Commit

Permalink
fix tests warning
Browse files Browse the repository at this point in the history
  • Loading branch information
niphlod committed Feb 21, 2025
1 parent 8155f80 commit 34e76fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 | Where-Object { $_ -notlike '*Connect-DbaInstance*'} | Should -BeNullOrEmpty
$warn | Where-Object { $_ -NotLike '*Connect-DbaInstance*'} | Should -BeNullOrEmpty
}

It "Should disable encryption" {
Expand All @@ -99,7 +99,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 34e76fe

Please sign in to comment.