Skip to content

Commit

Permalink
Fixes Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Aug 28, 2023
1 parent 3934027 commit 861a483
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

* DEPENDENCIES
* Updated Microsoft.Graph to version 2.4.0.
* Updated ReverseDSC to version 2.0.0.17
* Updated ReverseDSC to version 2.0.0.18
* MISC
* Fixes an issue with the generic export CIM Instance logic.
FIXES [#3610](https://github.com/microsoft/Microsoft365DSC/issues/3610)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,8 @@ function Export-TargetResource
}
if ($null -ne $Results.Members)
{
$currentDSCBlock = $currentDSCBlock.Replace("`",`"`r`n", "")
$currentDSCBlock = Convert-DSCStringParamToVariable -DSCBlock $currentDSCBlock -ParameterName 'Members' -IsCIMArray $true
$currentDSCBlock = $currentDSCBlock.Replace("`",`"`r`n", "")
$currentDSCBlock = $currentDSCBlock.Replace(",`r`n", '').Replace("`");`r`n", ");`r`n")
$currentDSCBlock = $currentDSCBlock.Replace("Members = @(`"", "Members = @(")
$currentDSCBlock = $currentDSCBlock.Replace("`$OrganizationName'", "' + `$OrganizationName")
Expand Down
2 changes: 1 addition & 1 deletion Modules/Microsoft365DSC/Dependencies/Manifest.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
},
@{
ModuleName = 'ReverseDSC'
RequiredVersion = '2.0.0.17'
RequiredVersion = '2.0.0.18'
}
)
}

0 comments on commit 861a483

Please sign in to comment.