From 5c59e19f56e72f6feffe032a8b0ab694ea9172ee Mon Sep 17 00:00:00 2001 From: Addam Schroll <108814318+schrolla@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:38:12 -0500 Subject: [PATCH] * Realign PSSA suppress statement --- Testing/Functional/Products/Products.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Testing/Functional/Products/Products.Tests.ps1 b/Testing/Functional/Products/Products.Tests.ps1 index 5b030273e..5cd33bc70 100644 --- a/Testing/Functional/Products/Products.Tests.ps1 +++ b/Testing/Functional/Products/Products.Tests.ps1 @@ -149,7 +149,6 @@ BeforeDiscovery { BeforeAll { # Shared Data for functional test - [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', 'ProductDetails', Justification = 'False positive as rule does not scan child scopes')] $ScubaModulePath = Join-Path -Path $PSScriptRoot -ChildPath "../../../PowerShell/ScubaGear/Modules" $ScubaModule = Join-Path -Path $ScubaModulePath -ChildPath "../ScubaGear.psd1" $ConnectionModule = Join-Path -Path $ScubaModulePath -ChildPath "Connection/Connection.psm1" @@ -157,6 +156,7 @@ BeforeAll { Import-Module $ConnectionModule Import-Module Selenium + [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', 'ProductDetails', Justification = 'False positive as rule does not scan child scopes')] $ProductDetails = @{ aad = "Azure Active Directory" defender = "Microsoft 365 Defender"