Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Aug 31, 2021
1 parent f131148 commit 954295a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Integration/DSC_SqlRS.Integration.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ try
}

It 'Should be able to access the ReportServer site without any error' {
if ($script:sqlVersion -in @('140', '150')
if ($script:sqlVersion -in @('140', '150'))
{
# SSRS 2017 and 2019 do not support multiple instances
$reportServerUri = 'http://{0}/ReportServer' -f $env:COMPUTERNAME
Expand Down Expand Up @@ -162,7 +162,7 @@ try
}

It 'Should be able to access the Reports site without any error' {
if($script:sqlVersion -in @('140', '150'))
if ($script:sqlVersion -in @('140', '150'))
{
# SSRS 2017 and 2019 do not support multiple instances
$reportsUri = 'http://{0}/Reports' -f $env:COMPUTERNAME
Expand Down Expand Up @@ -244,7 +244,7 @@ try
as this without testing for the correct error message on purpose.
#>
It 'Should not be able to access the ReportServer site and throw an error message' {
if($script:sqlVersion -in @('140', '150'))
if ($script:sqlVersion -in @('140', '150'))
{
# SSRS 2017 and 2019 do not support multiple instances
$reportServerUri = 'http://{0}/ReportServer' -f $env:COMPUTERNAME
Expand Down Expand Up @@ -304,7 +304,7 @@ try
}

It 'Should be able to access the ReportServer site without any error' {
if($script:sqlVersion -in @('140', '150'))
if ($script:sqlVersion -in @('140', '150'))
{
# SSRS 2017 and 2019 do not support multiple instances
$reportServerUri = 'http://{0}/ReportServer' -f $env:COMPUTERNAME
Expand Down Expand Up @@ -334,7 +334,7 @@ try
}

It 'Should be able to access the Reports site without any error' {
if($script:sqlVersion -in @('140', '150'))
if ($script:sqlVersion -in @('140', '150'))
{
# SSRS 2017 and 2019 do not support multiple instances
$reportsUri = 'http://{0}/Reports' -f $env:COMPUTERNAME
Expand Down

0 comments on commit 954295a

Please sign in to comment.