Skip to content

Commit be3db1f

Browse files
committed
Fix integ
1 parent 4fe1c4b commit be3db1f

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

tests/Integration/Commands/Repair-SqlDscBIReportServer.Integration.Tests.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ Describe 'Repair-SqlDscBIReportServer' -Tag @('Integration_PowerBI') {
4747
{
4848
# Set splatting parameters for Repair-SqlDscBIReportServer
4949
$repairSqlDscBIReportServerParameters = @{
50-
MediaPath = $powerBIReportServerExecutable
51-
LogPath = Join-Path -Path $script:temporaryFolder -ChildPath 'SSRS_Repair.log'
52-
SuppressRestart = $true
53-
Verbose = $true
54-
ErrorAction = 'Stop'
55-
Force = $true
50+
AcceptLicensingTerms = $true
51+
MediaPath = $powerBIReportServerExecutable
52+
LogPath = Join-Path -Path $script:temporaryFolder -ChildPath 'SSRS_Repair.log'
53+
SuppressRestart = $true
54+
Verbose = $true
55+
ErrorAction = 'Stop'
56+
Force = $true
5657
}
5758

5859
Repair-SqlDscBIReportServer @repairSqlDscBIReportServerParameters

tests/Integration/Commands/Repair-SqlDscReportingService.Integration.Tests.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ Describe 'Repair-SqlDscReportingService' -Tag @('Integration_SQL2017', 'Integrat
4747
{
4848
# Set splatting parameters for Repair-SqlDscReportingService
4949
$repairSqlDscReportingServiceParameters = @{
50-
MediaPath = $reportingServicesExecutable
51-
LogPath = Join-Path -Path $script:temporaryFolder -ChildPath 'SSRS_Repair.log'
52-
SuppressRestart = $true
53-
Verbose = $true
54-
ErrorAction = 'Stop'
55-
Force = $true
50+
AcceptLicensingTerms = $true
51+
MediaPath = $reportingServicesExecutable
52+
LogPath = Join-Path -Path $script:temporaryFolder -ChildPath 'SSRS_Repair.log'
53+
SuppressRestart = $true
54+
Verbose = $true
55+
ErrorAction = 'Stop'
56+
Force = $true
5657
}
5758

5859
Repair-SqlDscReportingService @repairSqlDscReportingServiceParameters

0 commit comments

Comments
 (0)