File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -342,12 +342,12 @@ public void AzurePlatformVMImageScenarioTest()
342
342
343
343
private void SwitchToPublisher ( )
344
344
{
345
- vmPowershellCmdlets . SetDefaultAzureSubscription ( publisher ) ;
345
+ vmPowershellCmdlets . SetDefaultAzureSubscription ( publisherSubId ) ;
346
346
}
347
347
348
348
private void SwitchToNormalUser ( )
349
349
{
350
- vmPowershellCmdlets . SetDefaultAzureSubscription ( normaluser ) ;
350
+ vmPowershellCmdlets . SetDefaultAzureSubscription ( normaluserSubId ) ;
351
351
}
352
352
353
353
private void WaitForReplicationComplete ( string imageName )
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ protected static void ReImportSubscription()
341
341
{
342
342
// Re-import the subscription.
343
343
vmPowershellCmdlets . ImportAzurePublishSettingsFile ( ) ;
344
- vmPowershellCmdlets . SetDefaultAzureSubscription ( CredentialHelper . DefaultSubscriptionName ) ;
344
+ vmPowershellCmdlets . SetDefaultAzureSubscription ( defaultAzureSubscription . SubscriptionId ) ;
345
345
vmPowershellCmdlets . SetAzureSubscription ( defaultAzureSubscription . SubscriptionId , defaultAzureSubscription . CurrentStorageAccountName ) ;
346
346
}
347
347
You can’t perform that action at this time.
0 commit comments