Skip to content

Commit 3795844

Browse files
Fix test for Enable-DbaHideInstance (#9517)
1 parent e674fc7 commit 3795844

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Enable-DbaHideInstance.Tests.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Describe "$CommandName Unit Tests" -Tag 'UnitTests' {
1414
}
1515

1616
Describe "$commandname Integration Tests" -Tags "IntegrationTests" {
17+
AfterAll {
18+
$null = Disable-DbaHideInstance $script:instance1
19+
}
20+
1721
$results = Enable-DbaHideInstance $script:instance1 -EnableException
1822

1923
It "returns true" {

0 commit comments

Comments
 (0)