Skip to content

Commit

Permalink
Fix test for Enable-DbaHideInstance (#9517)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan authored Oct 15, 2024
1 parent e674fc7 commit 3795844
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Enable-DbaHideInstance.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Describe "$CommandName Unit Tests" -Tag 'UnitTests' {
}

Describe "$commandname Integration Tests" -Tags "IntegrationTests" {
AfterAll {
$null = Disable-DbaHideInstance $script:instance1
}

$results = Enable-DbaHideInstance $script:instance1 -EnableException

It "returns true" {
Expand Down

0 comments on commit 3795844

Please sign in to comment.