Skip to content

Commit 7d1264c

Browse files
committed
Fix all tests
1 parent 0be3273 commit 7d1264c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Modules/FileContentDsc/Modules/FileContentDsc.Common/FileContentDsc.Common.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Import the Networking Resource Helper Module
1+
# Import the Networking Resource Helper Module
22
Import-Module -Name (Join-Path -Path (Split-Path -Path $PSScriptRoot -Parent) `
33
-ChildPath (Join-Path -Path 'FileContentDsc.ResourceHelper' `
44
-ChildPath 'FileContentDsc.ResourceHelper.psm1'))

Modules/FileContentDsc/Modules/FileContentDsc.ResourceHelper/FileContentDsc.ResourceHelper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<#
1+
<#
22
.SYNOPSIS
33
Tests if the specified command can be found.
44

Tests/Unit/DSR_IniSettingsFile.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
22
param ()
33

4-
Import-Module -Name (Join-Path -Path (Join-Path -Path (Split-Path $PSScriptRoot -Parent) -ChildPath 'TestHelpers') -ChildPath 'CommonTestHelper.psm1')
4+
Import-Module -Name (Join-Path -Path (Join-Path -Path (Split-Path $PSScriptRoot -Parent) -ChildPath 'TestHelpers') -ChildPath 'CommonTestHelper.psm1') -Global
55

66
$script:testEnvironment = Enter-DscResourceTestEnvironment `
77
-DscResourceModuleName 'FileContentDsc' `

Tests/Unit/DSR_KeyValuePairFile.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
22
param ()
33

4-
Import-Module -Name (Join-Path -Path (Join-Path -Path (Split-Path $PSScriptRoot -Parent) -ChildPath 'TestHelpers') -ChildPath 'CommonTestHelper.psm1')
4+
Import-Module -Name (Join-Path -Path (Join-Path -Path (Split-Path $PSScriptRoot -Parent) -ChildPath 'TestHelpers') -ChildPath 'CommonTestHelper.psm1') -Global
55

66
$script:testEnvironment = Enter-DscResourceTestEnvironment `
77
-DscResourceModuleName 'FileContentDsc' `

Tests/Unit/DSR_ReplaceText.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
22
param ()
33

4-
Import-Module -Name (Join-Path -Path (Join-Path -Path (Split-Path $PSScriptRoot -Parent) -ChildPath 'TestHelpers') -ChildPath 'CommonTestHelper.psm1')
4+
Import-Module -Name (Join-Path -Path (Join-Path -Path (Split-Path $PSScriptRoot -Parent) -ChildPath 'TestHelpers') -ChildPath 'CommonTestHelper.psm1') -Global
55

66
$script:testEnvironment = Enter-DscResourceTestEnvironment `
77
-DscResourceModuleName 'FileContentDsc' `

0 commit comments

Comments
 (0)