diff --git a/Testing/workflow/Invoke-PSSA.Tests.ps1 b/Testing/workflow/Invoke-PSSA.Tests.ps1 index d4026de83..1a85dd251 100644 --- a/Testing/workflow/Invoke-PSSA.Tests.ps1 +++ b/Testing/workflow/Invoke-PSSA.Tests.ps1 @@ -4,7 +4,8 @@ BeforeDiscovery { # Source the function . $PSScriptRoot/../../utils/workflow/Invoke-PSSA.ps1 # Invoke PSSA - Invoke-PSSA + $RepoRootPath = Join-Path -Path $PSScriptRoot -ChildPath '..\..' -Resolve + Invoke-PSSA -DebuggingMode $false -RepoPath $RepoRootPath } Describe "PSSA Check" {