File tree 3 files changed +4
-17
lines changed
3 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,8 @@ class SqlRSSetup : ResourceBase
187
187
$EditionUpgrade
188
188
189
189
[DscProperty ()]
190
- [ReportServerEdition ]
190
+ [ValidateSet (' Developer' , ' Evaluation' , ' ExpressAdvanced' )]
191
+ [System.String ]
191
192
$Edition
192
193
193
194
[DscProperty ()]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -129,8 +129,7 @@ Describe 'SqlRSSetup\Get()' -Tag 'Get' {
129
129
$currentState.MediaPath | Should - BeNullOrEmpty
130
130
$currentState.ProductKey | Should - BeNullOrEmpty
131
131
$currentState.EditionUpgrade | Should - BeNullOrEmpty
132
- # Returns 0, that means no value was set by GetCurrentState() from the enum ReportServerEdition
133
- $currentState.Edition | Should - Be 0
132
+ $currentState.Edition | Should - BeNullOrEmpty
134
133
$currentState.LogPath | Should - BeNullOrEmpty
135
134
$currentState.InstallFolder | Should - BeNullOrEmpty
136
135
$currentState.SuppressRestart | Should - BeFalse
@@ -188,8 +187,7 @@ Describe 'SqlRSSetup\Get()' -Tag 'Get' {
188
187
$currentState.MediaPath | Should - BeNullOrEmpty
189
188
$currentState.ProductKey | Should - BeNullOrEmpty
190
189
$currentState.EditionUpgrade | Should - BeNullOrEmpty
191
- # Returns 0, that means no value was set by GetCurrentState() from the enum ReportServerEdition
192
- $currentState.Edition | Should - Be 0
190
+ $currentState.Edition | Should - BeNullOrEmpty
193
191
$currentState.LogPath | Should - BeNullOrEmpty
194
192
$currentState.InstallFolder | Should - BeNullOrEmpty
195
193
$currentState.SuppressRestart | Should - BeFalse
You can’t perform that action at this time.
0 commit comments