Skip to content

Commit

Permalink
remove validation of day of week since the number _should_ be differe…
Browse files Browse the repository at this point in the history
…nt between native and managed.
  • Loading branch information
JamesWTruher committed May 9, 2022
1 parent 156af10 commit 6519c18
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -20,8 +20,8 @@ Describe "Set-Date for admin" -Tag @('CI', 'RequireAdminOnWindows', 'RequireSudo
$target = Get-Date
$expected = $target
$observed = Set-Date -Date $target
# do not test dayofweek because the number of the day is different between native and managed
$observed.Day | Should -Be $expected.Day
$observed.DayOfWeek | Should -Be $expected.DayOfWeek
$observed.Hour | Should -Be $expected.Hour
$observed.Minutes | Should -Be $expected.Minutes
$observed.Month | Should -Be $expected.Month
Expand Down

0 comments on commit 6519c18

Please sign in to comment.