@@ -5,22 +5,22 @@ $ModuleName = 'ALZ'
55$PathToManifest = [System.IO.Path ]::Combine(' ..' , ' ..' , ' ..' , $ModuleName , " $ModuleName .psd1" )
66# -------------------------------------------------------------------------
77if (Get-Module - Name $ModuleName - ErrorAction ' SilentlyContinue' ) {
8- # if the module is already in memory, remove it
9- Remove-Module - Name $ModuleName - Force
8+ # if the module is already in memory, remove it
9+ Remove-Module - Name $ModuleName - Force
1010}
1111Import-Module $PathToManifest - Force
1212# -------------------------------------------------------------------------
1313
1414InModuleScope ' ALZ' {
15- Describe ' Set-Config Private Function Tests' - Tag Unit {
16- BeforeAll {
17- $WarningPreference = ' SilentlyContinue'
18- $ErrorActionPreference = ' SilentlyContinue'
19- }
20- Context ' Set-Config should request CLI input for configuration.' {
21- It ' Based on the configuration object' {
15+ Describe ' Set-Config Private Function Tests' - Tag Unit {
16+ BeforeAll {
17+ $WarningPreference = ' SilentlyContinue'
18+ $ErrorActionPreference = ' SilentlyContinue'
19+ }
20+ Context ' Set-Config should request CLI input for configuration.' {
21+ It ' Based on the configuration object' {
2222
23- $config = @'
23+ $config = @'
2424 {
2525 "parameters":{
2626 "Prefix":{
@@ -39,9 +39,9 @@ InModuleScope 'ALZ' {
3939 }
4040'@ | ConvertFrom-Json
4141
42- Set-Config - configurationParameters $config.Parameters
43- }
42+ Set-Config - configurationParameters $config.Parameters
43+ }
4444
45- }
46- }
47- }
45+ }
46+ }
47+ }
0 commit comments