From bcdad12c04aa566e74dd6b86406b9bc05a9d4db5 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 8 Apr 2016 15:13:01 -0700 Subject: [PATCH] Fix tests for removal of Platform module --- test/powershell/Import-Module.Tests.ps1 | 4 ++-- test/powershell/Remove-Module.Tests.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/powershell/Import-Module.Tests.ps1 b/test/powershell/Import-Module.Tests.ps1 index cfbe45879..52e8dd1b3 100644 --- a/test/powershell/Import-Module.Tests.ps1 +++ b/test/powershell/Import-Module.Tests.ps1 @@ -1,5 +1,5 @@ Describe "Import-Module" { - $moduleName = "Microsoft.PowerShell.Platform" + $moduleName = "Microsoft.PowerShell.Security" BeforeEach { Remove-Module -Name $moduleName -Force @@ -21,4 +21,4 @@ { Import-Module -ModuleInfo $a } | Should Not Throw (Get-Module -Name $moduleName).Name | Should Be $moduleName } -} \ No newline at end of file +} diff --git a/test/powershell/Remove-Module.Tests.ps1 b/test/powershell/Remove-Module.Tests.ps1 index f5d65658f..c1d8eae88 100644 --- a/test/powershell/Remove-Module.Tests.ps1 +++ b/test/powershell/Remove-Module.Tests.ps1 @@ -1,5 +1,5 @@ Describe "Remove-Module" { - $moduleName = "Microsoft.PowerShell.Platform" + $moduleName = "Microsoft.PowerShell.Security" BeforeEach { Import-Module -Name $moduleName -Force