diff --git a/test/powershell/Language/Classes/scripting.enums.tests.ps1 b/test/powershell/Language/Classes/scripting.enums.tests.ps1 index 7d79bc5f1..8da968cb9 100644 --- a/test/powershell/Language/Classes/scripting.enums.tests.ps1 +++ b/test/powershell/Language/Classes/scripting.enums.tests.ps1 @@ -74,11 +74,6 @@ Describe 'enums' -Tags "CI" { } Describe 'Basic enum errors' -Tags "CI" { - - AfterAll { - Remove-Module LanguageTestSupport - } - ShouldBeParseError 'enum' MissingNameAfterKeyword 4 ShouldBeParseError 'enum foo' MissingTypeBody 8 ShouldBeParseError 'enum foo {' MissingEndCurlyBrace 10 diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Debug-Runspace.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Debug-Runspace.Tests.ps1 index 4c5b13fcc..b07c1cc9e 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Debug-Runspace.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Debug-Runspace.Tests.ps1 @@ -9,7 +9,7 @@ Describe "Debug-Runspace" -tag "CI" { } AfterAll { if ( $rs1 ) { $rs1.Dispose() } - if ( $rs2 ) { $rs1.Dispose() } + if ( $rs2 ) { $rs2.Dispose() } } It "Debugging a runspace should fail if the name is ambiguous" { diff --git a/test/powershell/engine/Remoting/SSHRemotingAPI.Tests.ps1 b/test/powershell/engine/Remoting/SSHRemotingAPI.Tests.ps1 index eeb71b443..d3a489ae4 100644 --- a/test/powershell/engine/Remoting/SSHRemotingAPI.Tests.ps1 +++ b/test/powershell/engine/Remoting/SSHRemotingAPI.Tests.ps1 @@ -1,5 +1,3 @@ -Import-Module $PSScriptRoot\..\..\Common\Test.Helpers.psm1 - Describe "SSH Remoting API Tests" -Tags "Feature" { Context "SSHConnectionInfo Class Tests" { diff --git a/test/powershell/engine/ValidateAttributes.Tests.ps1 b/test/powershell/engine/ValidateAttributes.Tests.ps1 index 07775b37d..42989b3c4 100644 --- a/test/powershell/engine/ValidateAttributes.Tests.ps1 +++ b/test/powershell/engine/ValidateAttributes.Tests.ps1 @@ -1,5 +1,3 @@ -Import-Module $PSScriptRoot\..\Common\Test.Helpers.psm1 - Describe 'Validate Attributes Tests' -Tags 'CI' { Context "ValidateCount" {