Skip to content

Commit f072110

Browse files
committed
Merge branch 'dev' of https://github.com/huangpf/azure-powershell into dev
Conflicts: setup/azurecmdfiles.wxi
2 parents fe250ea + cb434db commit f072110

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

setup/azurecmdfiles.wxi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5097,6 +5097,27 @@
50975097
<ComponentRef Id="cmpE2870DA9D9EABA49600629B6564747C7" />
50985098
<ComponentRef Id="cmpD0CBA309930AE994CD67A5EB7C9B5B10" />
50995099
<ComponentRef Id="cmp7781002FCC3D1B3F0519A286C3E916E9" />
5100+
<ComponentRef Id="cmp26757C9254980E46634DDBF7FA3DC0EE" />
5101+
<ComponentRef Id="cmp6A7508D641ABC42CBC47E8C71F5F7960" />
5102+
<ComponentRef Id="cmpC40A93532FA1B6B3CC495C44287DD4FD" />
5103+
<ComponentRef Id="cmpBA0E9AFF4B786F09AF8CA24A30DA0B3E" />
5104+
<ComponentRef Id="cmpC329903507D2C760A07068087F01E0F0" />
5105+
<ComponentRef Id="cmpA98F34A253A4D33476481745DC338B72" />
5106+
<ComponentRef Id="cmp3218E7B28F820C614786457C75F68FDE" />
5107+
<ComponentRef Id="cmpD48ED88B3D289F81DFEB1BE8D8BDFDBB" />
5108+
<ComponentRef Id="cmp9D7D5FC99E7FB18787B78A246F386511" />
5109+
<ComponentRef Id="cmp01D375B8D50C7BB0584789AF3262E6EB" />
5110+
<ComponentRef Id="cmp75A4FEB22AE2D2B4A03F04A4C7E8D32E" />
5111+
<ComponentRef Id="cmp71E32FD24E0F5940BB92662C539A00BA" />
5112+
<ComponentRef Id="cmpC0D2910F1E8DD94834985F8BBB1133A5" />
5113+
<ComponentRef Id="cmpB8F6CEC74DC065D2D08FB82A76CF7411" />
5114+
<ComponentRef Id="cmpFF465588FB32BEF908242C7BC2621DF6" />
5115+
<ComponentRef Id="cmpDEF412B27E738D9D17F5B36668F8D91C" />
5116+
<ComponentRef Id="cmp28E39E96F170CA278BC16412EA44C66B" />
5117+
<ComponentRef Id="cmpD4CEF26E124B97CCF29E53FCEA63DF11" />
5118+
<ComponentRef Id="cmp91E4DB8DA0930C4EC30468BFA8F0C631" />
5119+
<ComponentRef Id="cmp5A44264503BFAF83A7DA76A44878BC02" />
5120+
<ComponentRef Id="cmp3C91684B2D48E072C9B84111E717AC26" />
51005121
<ComponentRef Id="cmpFEE86D031CEC182D160B80C5EC00914F" />
51015122
<ComponentRef Id="cmpAB04FC1EEE889CA90013762F64086BFF" />
51025123
<ComponentRef Id="cmp4714276292444ADF7D34F509F31C8102" />

src/ResourceManager/Compute/Commands.Compute.Test/Common/ComputeTestController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private void SetupManagementClients(RestTestFramework.MockContext context)
161161
NetworkManagementClient = this.GetNetworkManagementClientClient(context);
162162
ComputeManagementClient = GetComputeManagementClient();
163163
AuthorizationManagementClient = GetAuthorizationManagementClient();
164-
GraphClient = GetGraphClient();
164+
// GraphClient = GetGraphClient();
165165

166166
helper.SetupManagementClients(
167167
ResourceManagementClient,
@@ -171,8 +171,8 @@ private void SetupManagementClients(RestTestFramework.MockContext context)
171171
//eventsClient,
172172
NetworkManagementClient,
173173
ComputeManagementClient,
174-
AuthorizationManagementClient,
175-
GraphClient);
174+
AuthorizationManagementClient);
175+
// GraphClient);
176176
}
177177

178178
private GraphRbacManagementClient GetGraphClient()

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PIRTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)