diff --git a/tests/PSCredential.Tests.ps1 b/tests/PSCredential.Tests.ps1 index 117a34d..ff0c57a 100644 --- a/tests/PSCredential.Tests.ps1 +++ b/tests/PSCredential.Tests.ps1 @@ -1,4 +1,6 @@ -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +[Diagnostics.CodeAnalysis.SuppressMessageAttribute( 'PSAvoidUsingConvertToSecureStringWithPlainText', '', Justification = 'Tests only; not for production code' )]