mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Add Set-Date test
This commit is contained in:
1 parent
e639240ecb
commit
c610ea7941
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user