File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
src/DataFactory/DataFactoryV2.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -174,12 +174,17 @@ function Test-SsisAzure-IntegrationRuntime
174
174
$licenseKey = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString(' fakelicensekey' )
175
175
$setup4 = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($componentName2 , $licenseKey )
176
176
177
- $setups = New-Object System.Collections.ArrayList
178
- $setups.Add ($setup1 )
179
- $setups.Add ($setup2 )
180
- # Disable these two setup as it cannot be faked and the other two have already covered the function test
181
- # $setups.Add($setup3)
182
- # $setups.Add($setup4)
177
+ # Create setup for Azure PowerShell
178
+ $version = ' 4.5.0'
179
+ $setup5 = New-Object Microsoft.Azure.Management.DataFactory.Models.AzPowerShellSetup($version )
180
+
181
+ $setups = New-Object System.Collections.ArrayList
182
+ $setups.Add ($setup1 )
183
+ $setups.Add ($setup2 )
184
+ # Disable these two setup as it cannot be faked and the other two have already covered the function test
185
+ # $setups.Add($setup3)
186
+ # $setups.Add($setup4)
187
+ $setups.Add ($setup5 )
183
188
184
189
# Replace following variables with network resource ids
185
190
$vnetId = $Env: VnetId
You can’t perform that action at this time.
0 commit comments