Skip to content

Commit

Permalink
Fix unit test header
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Jul 10, 2023
1 parent be3c785 commit 1dac3e7
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/Private/ConvertFrom-ServiceStartMode.Tests.ps1
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ BeforeDiscovery {
if (-not (Get-Module -Name 'DscResource.Test' -ListAvailable))
{
# Redirect all streams to $null, except the error stream (stream 2)
& "$PSScriptRoot/../../build.ps1" -Tasks 'noop' 2>&1 4>&1 5>&1 6>&1 > $null
& "$PSScriptRoot/../../../build.ps1" -Tasks 'noop' 2>&1 4>&1 5>&1 6>&1 > $null
}

# If the dependencies has not been resolved, this will throw an error.
2 changes: 1 addition & 1 deletion tests/Unit/Private/Get-InstanceId.Tests.ps1
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ BeforeDiscovery {
if (-not (Get-Module -Name 'DscResource.Test' -ListAvailable))
{
# Redirect all streams to $null, except the error stream (stream 2)
& "$PSScriptRoot/../../build.ps1" -Tasks 'noop' 2>&1 4>&1 5>&1 6>&1 > $null
& "$PSScriptRoot/../../../build.ps1" -Tasks 'noop' 2>&1 4>&1 5>&1 6>&1 > $null
}

# If the dependencies has not been resolved, this will throw an error.
2 changes: 1 addition & 1 deletion tests/Unit/Private/Get-RegistryPropertyValue.Tests.ps1
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ BeforeDiscovery {
if (-not (Get-Module -Name 'DscResource.Test' -ListAvailable))
{
# Redirect all streams to $null, except the error stream (stream 2)
& "$PSScriptRoot/../../build.ps1" -Tasks 'noop' 2>&1 4>&1 5>&1 6>&1 > $null
& "$PSScriptRoot/../../../build.ps1" -Tasks 'noop' 2>&1 4>&1 5>&1 6>&1 > $null
}

# If the dependencies has not been resolved, this will throw an error.

0 comments on commit 1dac3e7

Please sign in to comment.