Skip to content

Commit 951e752

Browse files
TravisEz13adityapatwardhan
authored andcommitted
Add line secret suppression (PowerShell#4935)
1 parent f02e692 commit 951e752

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/powershell/Modules/Microsoft.WSMan.Management/ConfigProvider.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ Describe "WSMan Config Provider" -Tag Feature,RequireAdminOnWindows {
187187
It "Set-Item on password without user on plugin should fail for <password>" -TestCases @(
188188
#[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Demo/doc/test secret.")]
189189
@{password=(ConvertTo-SecureString "My voice is my passport, verify me" -AsPlainText -Force)},
190+
#[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Demo/doc/test secret.")]
190191
@{password="hello"}
191192
) {
192193
param($password)

0 commit comments

Comments
 (0)