From f12f3d9af175f46863e0434cd4889ff6e753bee5 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Mon, 26 Feb 2018 15:15:41 -0800 Subject: [PATCH] [Feature] revert tests marked pending in #6230 --- .../Modules/Microsoft.PowerShell.Utility/Set-Date.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Set-Date.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Set-Date.Tests.ps1 index c9fcf03d589..387bea1bfc8 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Set-Date.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Set-Date.Tests.ps1 @@ -1,11 +1,11 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. Describe "Set-Date for admin" -Tag @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { - It "Set-Date should be able to set the date in an elevated context" -Pending { + It "Set-Date should be able to set the date in an elevated context" { { Get-Date | Set-Date } | Should Not Throw } - It "Set-Date should be able to set the date with -Date parameter" -Pending { + It "Set-Date should be able to set the date with -Date parameter" { $target = Get-Date $expected = $target Set-Date -Date $target | Should Be $expected