We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339901b commit 61e6fbcCopy full SHA for 61e6fbc
tests/Unit/Public/Set-SqlDscConfigurationOption.Tests.ps1
@@ -24,6 +24,8 @@ BeforeDiscovery {
24
}
25
26
BeforeAll {
27
+ $env:SqlServerDscCI = $true
28
+
29
$script:dscModuleName = 'SqlServerDsc'
30
31
Import-Module -Name $script:dscModuleName -Force -ErrorAction 'Stop'
@@ -41,6 +43,8 @@ AfterAll {
41
43
42
44
# Unload the module being tested so that it doesn't impact any other tests.
45
Get-Module -Name $script:dscModuleName -All | Remove-Module -Force
46
47
+ Remove-Item -Path 'Env:\SqlServerDscCI' -ErrorAction 'SilentlyContinue'
48
49
50
Describe 'Set-SqlDscConfigurationOption' -Tag 'Public' {
0 commit comments