Skip to content

Commit

Permalink
update smoketests
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav committed Sep 16, 2024
1 parent 721f663 commit e7198dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Testing/Functional/SmokeTest/SmokeTest001.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ Describe "Smoke Test: Generate Output" {
Context "Invoke Scuba for $Organization" {
BeforeAll {
if ($PSCmdlet.ParameterSetName -eq 'Manual'){
{ Invoke-SCuBA -ProductNames "*" -M365Environment $M365Environment -Quiet} |
{ Invoke-SCuBA -ProductNames "*" -M365Environment $M365Environment -Quiet -KeepIndividualJSON} |
Should -Not -Throw
}
else {
{ Invoke-SCuBA -CertificateThumbprint $Thumbprint -AppID $AppId -Organization $Organization -ProductNames "*" -M365Environment $M365Environment -Quiet} |
{ Invoke-SCuBA -CertificateThumbprint $Thumbprint -AppID $AppId -Organization $Organization -ProductNames "*" -M365Environment $M365Environment -Quiet -KeepIndividualJSON} |
Should -Not -Throw
}
$ReportFolders = Get-ChildItem . -directory -Filter "M365BaselineConformance*" | Sort-Object -Property LastWriteTime -Descending
Expand Down

0 comments on commit e7198dd

Please sign in to comment.