Title: Use 'RequireAdminOnWindows' tag in Set-Date tests by stknohg · Pull Request #6034 · PowerShell/PowerShell · GitHub
Open Graph Title: Use 'RequireAdminOnWindows' tag in Set-Date tests by stknohg · Pull Request #6034 · PowerShell/PowerShell
X Title: Use 'RequireAdminOnWindows' tag in Set-Date tests by stknohg · Pull Request #6034 · PowerShell/PowerShell
Description: PR Summary Fix #3099 Currently Set-Date.Tests.ps1 dose not have RequireAdminOnWindows tag, so CI tests requiring elevated privilege are always skipped. Using RequireAdminOnWindows tag instead of Test-Elevated function, I fix the problem. PR Checklist Note: Please mark anything not applicable to this PR NA. PR has a meaningful title Use the present tense and imperative mood when describing your changes Summarized changes User facing Documentation needed Issue filed - Issue link: Set-Date don't work and admin-elevated test is silently skipped Change is not breaking Make sure you've added a new test if existing tests do not effectively test the code changed Add [feature] if the change is significant or affects feature tests This PR is ready to merge and is not Work in Progress. If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.
Open Graph Description: PR Summary Fix #3099 Currently Set-Date.Tests.ps1 dose not have RequireAdminOnWindows tag, so CI tests requiring elevated privilege are always skipped. Using RequireAdminOnWindows tag instead of Te...
X Description: PR Summary Fix #3099 Currently Set-Date.Tests.ps1 dose not have RequireAdminOnWindows tag, so CI tests requiring elevated privilege are always skipped. Using RequireAdminOnWindows tag instead of Te...
Opengraph URL: https://github.com/PowerShell/PowerShell/pull/6034
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e7a098b8-eb07-e913-9ff3-a2b2e7e0c967 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E50C:188ED7:5676C:746E8:6A553152 |
| html-safe-nonce | a165966b674c388adf60423df0501756fc89dfd9225607a59a357538b8581836 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTBDOjE4OEVENzo1Njc2Qzo3NDZFODo2QTU1MzE1MiIsInZpc2l0b3JfaWQiOiI0NTc1NTE2MTY2NzUyMzAwMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b88ffe52b08e839a24d2a115d4e3871169fa0d0d7dafe79b4eedd0aaa8af9c6b |
| hovercard-subject-tag | pull_request:165281061 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/6034/files |
| twitter:image | https://avatars.githubusercontent.com/u/720127?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/720127?s=400&v=4 |
| og:image:alt | PR Summary Fix #3099 Currently Set-Date.Tests.ps1 dose not have RequireAdminOnWindows tag, so CI tests requiring elevated privilege are always skipped. Using RequireAdminOnWindows tag instead of Te... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fbd8fce4d63ac394c5405faa20aa50d5c9e56b979ac43ee1b26f8e7c47c4cd89 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf96660b44878f418b09d3d6ecde00ad62332910 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width