Skip to content

Commit 9fe2c56

Browse files
committed
Updating Common.ps1
1 parent 4a7266b commit 9fe2c56

File tree

1 file changed

+1
-1
lines changed
  • src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests

1 file changed

+1
-1
lines changed

src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/Common.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Creates a resource group to use in tests
7575
#>
7676
function TestSetup-AddEndpoint($endpointName, $profile)
7777
{
78-
$profile = Add-AzureTrafficManagerEndpointConfig -EndpointName $endpointName -Profile $profile -Type "ExternalEndpoint" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe"
78+
$profile = Add-AzureTrafficManagerEndpointConfig -EndpointName $endpointName -TrafficManagerProfile $profile -Type "ExternalEndpoint" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe"
7979

8080
return $profile
8181
}

0 commit comments

Comments
 (0)