Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test case for new type of Express Custom Setup: AzPowerShellSetup #12635

Merged
merged 2 commits into from
Sep 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,17 @@ function Test-SsisAzure-IntegrationRuntime
$licenseKey = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString('fakelicensekey')
$setup4 = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($componentName2, $licenseKey)

$setups = New-Object System.Collections.ArrayList
$setups.Add($setup1)
$setups.Add($setup2)
# Disable these two setup as it cannot be faked and the other two have already covered the function test
# $setups.Add($setup3)
# $setups.Add($setup4)
# Create setup for Azure PowerShell
$version = '4.5.0'
$setup5 = New-Object Microsoft.Azure.Management.DataFactory.Models.AzPowerShellSetup($version)

$setups = New-Object System.Collections.ArrayList
$setups.Add($setup1)
$setups.Add($setup2)
# Disable these two setup as it cannot be faked and the other two have already covered the function test
# $setups.Add($setup3)
# $setups.Add($setup4)
$setups.Add($setup5)

# Replace following variables with network resource ids
$vnetId = $Env:VnetId
Expand Down