diff --git a/PowerShell/ScubaGear/Testing/Unit/PowerShell/ScubaConfig/ScubaConfigLoadConfig.Tests.ps1 b/PowerShell/ScubaGear/Testing/Unit/PowerShell/ScubaConfig/ScubaConfigLoadConfig.Tests.ps1 index 6f37e39a9..51dcff06a 100644 --- a/PowerShell/ScubaGear/Testing/Unit/PowerShell/ScubaConfig/ScubaConfigLoadConfig.Tests.ps1 +++ b/PowerShell/ScubaGear/Testing/Unit/PowerShell/ScubaConfig/ScubaConfigLoadConfig.Tests.ps1 @@ -76,6 +76,9 @@ InModuleScope ScubaConfig { [ScubaConfig]::GetInstance().LoadConfig($PSCommandPath) | Should -BeTrue Should -Invoke -CommandName Write-Warning -Exactly -Times 1 } + AfterAll { + Remove-Item function:\ConvertFrom-Yaml + } } } }