Skip to content

Commit c1f71f4

Browse files
authored
fix integ
1 parent 3fb4b2c commit c1f71f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Integration/Commands/Get-SqlDscRSSetupConfiguration.Integration.Tests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BeforeDiscovery {
2626
Describe 'Get-SqlDscRSSetupConfiguration' {
2727
Context 'When getting the configuration for SQL Server Reporting Services instance' -Tag @('Integration_SQL2017_RS') {
2828
It 'Should return the correct configuration for SSRS instance' {
29-
Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
29+
#Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
3030

3131
# Get the SSRS configuration
3232
$result = Get-SqlDscRSSetupConfiguration -InstanceName 'SSRS'
@@ -38,7 +38,7 @@ Describe 'Get-SqlDscRSSetupConfiguration' {
3838
$result.ServiceName | Should -Be 'SQLServerReportingServices'
3939
$result.ErrorDumpDirectory | Should -Be 'C:\Program Files\SSRS\SSRS\LogFiles'
4040
$result.CurrentVersion | Should -Be '14.0.601.20'
41-
$result.ProductVersion | Should -Be '16.0.9101.19239'
41+
$result.ProductVersion | Should -BeNullOrEmpty
4242
$result.CustomerFeedback | Should -Be 1
4343
$result.EnableErrorReporting | Should -Be 1
4444
$result.VirtualRootServer | Should -Be 'ReportServer'
@@ -48,7 +48,7 @@ Describe 'Get-SqlDscRSSetupConfiguration' {
4848

4949
Context 'When getting the configuration for SQL Server Reporting Services instance' -Tag @('Integration_SQL2019_RS') {
5050
It 'Should return the correct configuration for SSRS instance' {
51-
Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
51+
#Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
5252

5353
# Get the SSRS configuration
5454
$result = Get-SqlDscRSSetupConfiguration -InstanceName 'SSRS'
@@ -70,7 +70,7 @@ Describe 'Get-SqlDscRSSetupConfiguration' {
7070

7171
Context 'When getting the configuration for SQL Server Reporting Services instance' -Tag @('Integration_SQL2022_RS') {
7272
It 'Should return the correct configuration for SSRS instance' {
73-
Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
73+
#Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
7474

7575
# Get the SSRS configuration
7676
$result = Get-SqlDscRSSetupConfiguration -InstanceName 'SSRS'

0 commit comments

Comments
 (0)