Title: Pester tests for Microsoft.PowerShell.Security are using null incorrectly · Issue #6265 · PowerShell/PowerShell · GitHub
Open Graph Title: Pester tests for Microsoft.PowerShell.Security are using null incorrectly · Issue #6265 · PowerShell/PowerShell
X Title: Pester tests for Microsoft.PowerShell.Security are using null incorrectly · Issue #6265 · PowerShell/PowerShell
Description: Several Pester tests for Microsoft.PowerShell.Security are incorrectly using null instead of $null Use of Should not be null should have used $null. Change to Should -Not -BeNullOrEmpty and remediate example: PowerShell/test/powershell/M...
Open Graph Description: Several Pester tests for Microsoft.PowerShell.Security are incorrectly using null instead of $null Use of Should not be null should have used $null. Change to Should -Not -BeNullOrEmpty and remedia...
X Description: Several Pester tests for Microsoft.PowerShell.Security are incorrectly using null instead of $null Use of Should not be null should have used $null. Change to Should -Not -BeNullOrEmpty and remedia...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6265
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pester tests for Microsoft.PowerShell.Security are using null incorrectly","articleBody":"Several Pester tests for `Microsoft.PowerShell.Security` are incorrectly using `null` instead of `$null`\r\n\r\n* Use of `Should not be null` should have used `$null`. Change to `Should -Not -BeNullOrEmpty` and remediate\r\n example: https://github.com/PowerShell/PowerShell/blob/76526c6f1df08c0a55fbae79a7148a4a58805626/test/powershell/Modules/Microsoft.PowerShell.Security/CertificateProvider.Tests.ps1#L51\r\n\r\n* Use of `Get-Item` should be `Get-ChildItem` in cert provider test (#6258). Correcting `$null` check will expose this bug.\r\n https://github.com/PowerShell/PowerShell/blob/76526c6f1df08c0a55fbae79a7148a4a58805626/test/powershell/Modules/Microsoft.PowerShell.Security/CertificateProvider.Tests.ps1#L50\r\n\r\nDiscovered while working on #6256","author":{"url":"https://github.com/KevinMarquette","@type":"Person","name":"KevinMarquette"},"datePublished":"2018-02-28T06:19:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/6265/PowerShell/issues/6265"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c4456f34-1129-4bfb-0d6d-67e5231223fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA18:3F9E46:1887DB:22E2B9:6A54919D |
| html-safe-nonce | a8bc8d4020f1632d1657eb5e7d79fe9e2b496afe8ccfb08a0e5f9f7cbaef2dfb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTE4OjNGOUU0NjoxODg3REI6MjJFMkI5OjZBNTQ5MTlEIiwidmlzaXRvcl9pZCI6IjUyMzg5NTEyOTIxMTkwNjA4OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a2676ebbbd425f5679c8d9fe6945665d51b4a5cc643075fbd2572ebd30c21a0b |
| hovercard-subject-tag | issue:300905666 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/PowerShell/PowerShell/6265/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cbdd8f35125ed261c6277bede3788f688831987645b992ab1c1ee87f39f9926/PowerShell/PowerShell/issues/6265 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cbdd8f35125ed261c6277bede3788f688831987645b992ab1c1ee87f39f9926/PowerShell/PowerShell/issues/6265 |
| og:image:alt | Several Pester tests for Microsoft.PowerShell.Security are incorrectly using null instead of $null Use of Should not be null should have used $null. Change to Should -Not -BeNullOrEmpty and remedia... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KevinMarquette |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width