Skip to content

Commit

Permalink
add missing keep json call
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav committed Sep 17, 2024
1 parent 65d1421 commit 794d9ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ InModuleScope Orchestrator {
function ConvertTo-ResultsCsv {throw 'this will be mocked'}
Mock -ModuleName Orchestrator ConvertTo-ResultsCsv {}

function Invoke-RunRego {throw 'this will be mocked'}
Mock -ModuleName Orchestrator Invoke-RunRego {}

Mock -CommandName New-Item {}
Mock -CommandName Copy-Item {}
}
Expand Down
2 changes: 1 addition & 1 deletion Testing/Functional/Products/Products.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Describe "Policy Checks for <ProductName>"{

Set-Content -Path $TestConfigFilePath -Value ($ScubaConfig | ConvertTo-Yaml)
SetConditions -Conditions $Preconditions.ToArray()
Invoke-SCuBA -ConfigFilePath $TestConfigFilePath -Quiet
Invoke-SCuBA -ConfigFilePath $TestConfigFilePath -Quiet -KeepIndividualJSON
}
# Ensure case matches driver in test plan
elseif ('RunScuba' -eq $TestDriver){
Expand Down

0 comments on commit 794d9ac

Please sign in to comment.