Skip to content

Commit dec8395

Browse files
moving ea out of batch mode
1 parent e2e2aa7 commit dec8395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Invoke-Deployment.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ if (!$Batch) {
99
# Is not a part of the global batch => import module
1010
#Explicitly import the module for testing
1111
Import-Module "$here\..\dbops.psd1" -Force; Get-DBOModuleFileList -Type internal | ForEach-Object { . $_.FullName }
12-
$ErrorActionPreference = 'Stop'
1312
}
1413
else {
1514
# Is a part of a batch, output some eye-catching happiness
1615
Write-Host "Running $commandName tests" -ForegroundColor Cyan
1716
}
1817

18+
$ErrorActionPreference = 'Stop' # Needed for non-public commands
1919
. "$here\constants.ps1"
2020

2121
$workFolder = Join-PSFPath -Normalize "$here\etc" "$commandName.Tests.dbops"

0 commit comments

Comments
 (0)