You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Integration/Commands/Prerequisites.Integration.Tests.ps1
+39-11Lines changed: 39 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ BeforeDiscovery {
25
25
26
26
# CSpell: ignore Remoting
27
27
Describe 'Prerequisites' {
28
-
Context 'Create required local Windows users'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022') {
28
+
Context 'Create required local Windows users'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022','Integration_PowerBI') {
Context 'Should create required local Windows service accounts'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022') {
48
+
Context 'Should create required local Windows service accounts'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022','Integration_PowerBI') {
Context 'Add local Windows users to local groups'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022') {
82
+
Context 'Add local Windows users to local groups'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022','Integration_PowerBI') {
83
83
It 'Should add SqlInstall to local administrator group' {
$mountedImage| Should -BeOfType 'Microsoft.Management.Infrastructure.CimInstance'
@@ -150,14 +150,14 @@ Describe 'Prerequisites' {
150
150
}
151
151
152
152
Context 'Install correct version of module SqlServer' {
153
-
It 'Should have the minimum required version of Microsoft.PowerShell.PSResourceGet'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022') {
153
+
It 'Should have the minimum required version of Microsoft.PowerShell.PSResourceGet'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022','Integration_PowerBI') {
It 'Should have a resource repository PSGallery with correct URI'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022') {
160
+
It 'Should have a resource repository PSGallery with correct URI'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022','Integration_PowerBI') {
# Put the executable in a temporary folder that can be accessed by other tests
@@ -217,7 +242,10 @@ Describe 'Prerequisites' {
217
242
}
218
243
219
244
Context 'Download correct Power BI Report Server installation executable' {
220
-
It 'Should download Power BI Report Server (January 2025) installation executable'-Tag @('Integration_SQL2016','Integration_SQL2017','Integration_SQL2019','Integration_SQL2022') {
245
+
# This should always use the latest version of Power BI Report Server, and use the latest tag used in pipeline.
246
+
It 'Should download Power BI Report Server installation executable'-Tag @('Integration_PowerBI') {
0 commit comments