We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e2aa7 commit dec8395Copy full SHA for dec8395
tests/Invoke-Deployment.Tests.ps1
@@ -9,13 +9,13 @@ if (!$Batch) {
9
# Is not a part of the global batch => import module
10
#Explicitly import the module for testing
11
Import-Module "$here\..\dbops.psd1" -Force; Get-DBOModuleFileList -Type internal | ForEach-Object { . $_.FullName }
12
- $ErrorActionPreference = 'Stop'
13
}
14
else {
15
# Is a part of a batch, output some eye-catching happiness
16
Write-Host "Running $commandName tests" -ForegroundColor Cyan
17
18
+$ErrorActionPreference = 'Stop' # Needed for non-public commands
19
. "$here\constants.ps1"
20
21
$workFolder = Join-PSFPath -Normalize "$here\etc" "$commandName.Tests.dbops"
0 commit comments