Skip to content

Commit

Permalink
* Readd module import
Browse files Browse the repository at this point in the history
* Remove debug statement
  • Loading branch information
schrolla committed Sep 13, 2024
1 parent cb3a45a commit e5fd432
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Testing/Functional/Products/FunctionalTestUtils.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# $UtilityModulePath = Join-Path -Path $PSScriptRoot -ChildPath "../../../PowerShell/ScubaGear/Modules/Utility/Utility.psm1" -Resolve
# Write-Host "The Utility Module Path is"
# Write-Host $UtilityModulePath
# Import-Module $UtilityModulePath -Function Get-Utf8NoBom, Set-Utf8NoBom -Scope Global
$UtilityModulePath = Join-Path -Path $PSScriptRoot -ChildPath "../../../PowerShell/ScubaGear/Modules/Utility/Utility.psm1" -Resolve
Import-Module $UtilityModulePath -Function Get-Utf8NoBom, Set-Utf8NoBom

# Helper functions for functional test
function IsEquivalence{
Expand Down Expand Up @@ -97,8 +95,6 @@ function LoadProviderExport() {

# $ProviderExport = $(Get-Utf8NoBom -FilePath "$OutputFolder/ProviderSettingsExport.json" | Out-String).Trim() | ConvertFrom-Json
$content = Get-Utf8NoBom -FilePath "$OutputFolder/ProviderSettingsExport.json"
Write-Host "The content is"
Write-Host $content
$stringContent = $content | Out-String
$stringContentTrimmed = $stringContent.Trim()
$ProviderExport = $stringContentTrimmed | ConvertFrom-Json
Expand Down Expand Up @@ -161,7 +157,6 @@ function UpdateProviderExport{
$OutputFolder
)

Write-Host "Calling LoadProviderExport..."
$ProviderExport = LoadProviderExport($OutputFolder)

$Updates.Keys | ForEach-Object{
Expand Down

0 comments on commit e5fd432

Please sign in to comment.