Skip to content

Commit

Permalink
* Realign PSSA suppress statement
Browse files Browse the repository at this point in the history
  • Loading branch information
schrolla committed Sep 13, 2024
1 parent e5fd432 commit 5c59e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Testing/Functional/Products/Products.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ 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"
Import-Module $ScubaModule
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"
Expand Down

0 comments on commit 5c59e19

Please sign in to comment.