mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 17:53:58 +08:00
Add Set-Date test
This commit is contained in:
parent
e639240ecb
commit
c610ea7941
@ -1,7 +1,7 @@
|
||||
# first check to see which platform we're on. If we're on windows we should be able
|
||||
# to be sure whether we're running elevated. If we're on Linux, we can use whoami to
|
||||
# determine whether we're elevated
|
||||
Describe "Set-Date" {
|
||||
Describe "Set-Date" -Tag "CI" {
|
||||
BeforeAll {
|
||||
if ( $IsWindows ) {
|
||||
$identity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
|
||||
|
Loading…
Reference in New Issue
Block a user