From 948c3faf4004dbd3a20247b32ec819886acde2d6 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 27 Sep 2017 14:33:17 -0700 Subject: [PATCH] Add line secret suppression --- .../Modules/Microsoft.WSMan.Management/ConfigProvider.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/test/powershell/Modules/Microsoft.WSMan.Management/ConfigProvider.Tests.ps1 b/test/powershell/Modules/Microsoft.WSMan.Management/ConfigProvider.Tests.ps1 index 208aa7b2966..bd227477714 100644 --- a/test/powershell/Modules/Microsoft.WSMan.Management/ConfigProvider.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.WSMan.Management/ConfigProvider.Tests.ps1 @@ -187,6 +187,7 @@ Describe "WSMan Config Provider" -Tag Feature,RequireAdminOnWindows { It "Set-Item on password without user on plugin should fail for " -TestCases @( #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Demo/doc/test secret.")] @{password=(ConvertTo-SecureString "My voice is my passport, verify me" -AsPlainText -Force)}, + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Demo/doc/test secret.")] @{password="hello"} ) { param($password)