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()
342342
343343 private void SwitchToPublisher ( )
344344 {
345- vmPowershellCmdlets . SetDefaultAzureSubscription ( publisher ) ;
345+ vmPowershellCmdlets . SetDefaultAzureSubscription ( publisherSubId ) ;
346346 }
347347
348348 private void SwitchToNormalUser ( )
349349 {
350- vmPowershellCmdlets . SetDefaultAzureSubscription ( normaluser ) ;
350+ vmPowershellCmdlets . SetDefaultAzureSubscription ( normaluserSubId ) ;
351351 }
352352
353353 private void WaitForReplicationComplete ( string imageName )
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ protected static void ReImportSubscription()
341341 {
342342 // Re-import the subscription.
343343 vmPowershellCmdlets . ImportAzurePublishSettingsFile ( ) ;
344- vmPowershellCmdlets . SetDefaultAzureSubscription ( CredentialHelper . DefaultSubscriptionName ) ;
344+ vmPowershellCmdlets . SetDefaultAzureSubscription ( defaultAzureSubscription . SubscriptionId ) ;
345345 vmPowershellCmdlets . SetAzureSubscription ( defaultAzureSubscription . SubscriptionId , defaultAzureSubscription . CurrentStorageAccountName ) ;
346346 }
347347
You can’t perform that action at this time.
0 commit comments