Add Set-Date test
This commit is contained in:
parent
e639240ecb
commit
c610ea7941
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# first check to see which platform we're on. If we're on windows we should be able
|
# 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
|
# to be sure whether we're running elevated. If we're on Linux, we can use whoami to
|
||||||
# determine whether we're elevated
|
# determine whether we're elevated
|
||||||
Describe "Set-Date" {
|
Describe "Set-Date" -Tag "CI" {
|
||||||
BeforeAll {
|
BeforeAll {
|
||||||
if ( $IsWindows ) {
|
if ( $IsWindows ) {
|
||||||
$identity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
|
$identity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
|
||||||
|
|
Loading…
Reference in a new issue