Skip to content

Commit ed56706

Browse files
authored
Merge pull request #7673 from cormacpayne/update-common-1.1.6
Update common packages to 1.1.6-preview
2 parents 00cde14 + b9f7ddc commit ed56706

File tree

77 files changed

+183
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+183
-178
lines changed

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
99
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
1010
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
11-
<package id="Microsoft.Rest.ClientRuntime" version="2.3.14" targetFramework="net452" />
12-
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.16" targetFramework="net452" />
11+
<package id="Microsoft.Rest.ClientRuntime" version="2.3.16" targetFramework="net452" />
12+
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.17" targetFramework="net452" />
1313
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />
1414
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
1515
</packages>

src/ResourceManager/FrontDoor/Commands.FrontDoor.Test/Commands.FrontDoor.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
<HintPath>..\..\..\packages\Microsoft.Azure.Management.FrontDoor.0.9.0-preview\lib\net452\Microsoft.Azure.Management.FrontDoor.dll</HintPath>
8282
</Reference>
8383
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
84-
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.14\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
84+
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.16\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
8585
</Reference>
8686
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
87-
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.16\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
87+
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.17\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
8888
</Reference>
8989
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
9090
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>

src/ResourceManager/Insights/Commands.Insights.Test/ActionGroups/GetAzureRmActionGroupCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public GetAzureRmActionGroupTests(Xunit.Abstractions.ITestOutputHelper output)
4242
{
4343
TestExecutionHelpers.SetUpSessionAndProfile();
4444
insightsOperationsMock = new Mock<IActionGroupsOperations>();
45-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
45+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4646
commandRuntimeMock = new Mock<ICommandRuntime>();
4747
cmdlet = new GetAzureRmActionGroupCommand()
4848
{

src/ResourceManager/Insights/Commands.Insights.Test/ActionGroups/RemoveAzureRmActionGroupCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public RemoveAzureRmActionGroupTests(Xunit.Abstractions.ITestOutputHelper output
4040
{
4141
TestExecutionHelpers.SetUpSessionAndProfile();
4242
insightsOperationsMock = new Mock<IActionGroupsOperations>();
43-
monitorClientMock = new Mock<MonitorManagementClient>();
43+
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4444
commandRuntimeMock = new Mock<ICommandRuntime>();
4545
cmdlet = new RemoveAzureRmActionGroupCommand()
4646
{

src/ResourceManager/Insights/Commands.Insights.Test/ActionGroups/SetAzureRmActionGroupCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public AddAzureRmActionGroupTests(Xunit.Abstractions.ITestOutputHelper output)
4949
{
5050
TestExecutionHelpers.SetUpSessionAndProfile();
5151
insightsOperationsMock = new Mock<IActionGroupsOperations>();
52-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
52+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5353
commandRuntimeMock = new Mock<ICommandRuntime>();
5454
cmdlet = new SetAzureRmActionGroupCommand
5555
{

src/ResourceManager/Insights/Commands.Insights.Test/ActivityLogAlerts/DisableAzureRmActivityLogAlertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public DisableAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper
4343
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4444
TestExecutionHelpers.SetUpSessionAndProfile();
4545
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
46-
monitorClientMock = new Mock<MonitorManagementClient>();
46+
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4747
commandRuntimeMock = new Mock<ICommandRuntime>();
4848
cmdlet = new DisableAzureRmActivityLogAlertCommand()
4949
{

src/ResourceManager/Insights/Commands.Insights.Test/ActivityLogAlerts/EnableAzureRmActivityLogAlertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public EnableAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper o
4343
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4444
TestExecutionHelpers.SetUpSessionAndProfile();
4545
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
46-
monitorClientMock = new Mock<MonitorManagementClient>();
46+
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4747
commandRuntimeMock = new Mock<ICommandRuntime>();
4848
cmdlet = new EnableAzureRmActivityLogAlertCommand()
4949
{

src/ResourceManager/Insights/Commands.Insights.Test/ActivityLogAlerts/GetAzureRmActivityLogAlertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public GetAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper outp
4343
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4444
TestExecutionHelpers.SetUpSessionAndProfile();
4545
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
46-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
46+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4747
commandRuntimeMock = new Mock<ICommandRuntime>();
4848
cmdlet = new GetAzureRmActivityLogAlertCommand()
4949
{

src/ResourceManager/Insights/Commands.Insights.Test/ActivityLogAlerts/RemoveAzureRmActivityLogAlertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public RemoveAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper o
4141
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4242
TestExecutionHelpers.SetUpSessionAndProfile();
4343
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
44-
monitorClientMock = new Mock<MonitorManagementClient>();
44+
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4545
commandRuntimeMock = new Mock<ICommandRuntime>();
4646
cmdlet = new RemoveAzureRmActivityLogAlertCommand()
4747
{

src/ResourceManager/Insights/Commands.Insights.Test/ActivityLogAlerts/SetAzureRmActivityLogAlertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public SetAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper outp
4444
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4545
TestExecutionHelpers.SetUpSessionAndProfile();
4646
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
47-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
47+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4848
commandRuntimeMock = new Mock<ICommandRuntime>();
4949
cmdlet = new SetAzureRmActivityLogAlertCommand
5050
{

src/ResourceManager/Insights/Commands.Insights.Test/ActivityLogs/GetAzureRmLogTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public GetAzureRmLogTests(Xunit.Abstractions.ITestOutputHelper output)
4444
{
4545
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4646
insightsEventOperationsMock = new Mock<IActivityLogsOperations>();
47-
MonitorClientMock = new Mock<MonitorManagementClient>();
47+
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4848
commandRuntimeMock = new Mock<ICommandRuntime>();
4949
cmdlet = new GetAzureRmLogCommand()
5050
{

src/ResourceManager/Insights/Commands.Insights.Test/Alerts/AddAzureRmMetricAlertRuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public AddAzureRmMetricAlertRuleTests(ITestOutputHelper output)
4646
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4747
TestExecutionHelpers.SetUpSessionAndProfile();
4848
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
49-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
49+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5050
commandRuntimeMock = new Mock<ICommandRuntime>();
5151
cmdlet = new AddAzureRmMetricAlertRuleCommand()
5252
{

src/ResourceManager/Insights/Commands.Insights.Test/Alerts/AddAzureRmWebtestAlertRuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public AddAzureRmWebtestAlertRuleTests(ITestOutputHelper output)
4646
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4747
TestExecutionHelpers.SetUpSessionAndProfile();
4848
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
49-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
49+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5050
commandRuntimeMock = new Mock<ICommandRuntime>();
5151
cmdlet = new AddAzureRmWebtestAlertRuleCommand()
5252
{

src/ResourceManager/Insights/Commands.Insights.Test/Alerts/GetAzureRmAlertHistoryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public GetAzureRmAlertHistoryTests(ITestOutputHelper output)
4747
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4848
TestExecutionHelpers.SetUpSessionAndProfile();
4949
insightsEventOperationsMock = new Mock<IActivityLogsOperations>();
50-
MonitorClientMock = new Mock<MonitorManagementClient>();
50+
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5151
commandRuntimeMock = new Mock<ICommandRuntime>();
5252
cmdlet = new GetAzureRmAlertHistoryCommand()
5353
{

src/ResourceManager/Insights/Commands.Insights.Test/Alerts/GetAzureRmAlertRuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public GetAzureRmAlertRuleTests(ITestOutputHelper output)
4141
{
4242
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4343
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
44-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
44+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4545
commandRuntimeMock = new Mock<ICommandRuntime>();
4646
cmdlet = new GetAzureRmAlertRuleCommand()
4747
{

src/ResourceManager/Insights/Commands.Insights.Test/Alerts/RemoveAzureRmAlertRuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public RemoveAzureRmAlertRuleTests(Xunit.Abstractions.ITestOutputHelper output)
4040
{
4141
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4242
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
43-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
43+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4444
commandRuntimeMock = new Mock<ICommandRuntime>();
4545
cmdlet = new RemoveAzureRmAlertRuleCommand()
4646
{

src/ResourceManager/Insights/Commands.Insights.Test/Autoscale/AddAzureRmAutoscaleSettingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public AddAzureRmAutoscaleSettingTests(Xunit.Abstractions.ITestOutputHelper outp
4747
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4848
TestExecutionHelpers.SetUpSessionAndProfile();
4949
insightsAutoscaleOperationsMock = new Mock<IAutoscaleSettingsOperations>();
50-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
50+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5151
commandRuntimeMock = new Mock<ICommandRuntime>();
5252
cmdlet = new AddAzureRmAutoscaleSettingCommand()
5353
{

src/ResourceManager/Insights/Commands.Insights.Test/Autoscale/GetAzureRmAutoscaleHistoryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public GetAzureRmAutoscaleHistoryTests(Xunit.Abstractions.ITestOutputHelper outp
4646
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4747
TestExecutionHelpers.SetUpSessionAndProfile();
4848
insightsEventOperationsMock = new Mock<IActivityLogsOperations>();
49-
MonitorClientMock = new Mock<MonitorManagementClient>();
49+
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5050
commandRuntimeMock = new Mock<ICommandRuntime>();
5151
cmdlet = new GetAzureRmAutoscaleHistoryCommand()
5252
{

src/ResourceManager/Insights/Commands.Insights.Test/Autoscale/GetAzureRmAutoscaleSettingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public GetAzureRmAutoscaleSettingTests(Xunit.Abstractions.ITestOutputHelper outp
4848
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4949
TestExecutionHelpers.SetUpSessionAndProfile();
5050
insightsAutoscaleOperationsMock = new Mock<IAutoscaleSettingsOperations>();
51-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
51+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5252
commandRuntimeMock = new Mock<ICommandRuntime>();
5353
cmdlet = new GetAzureRmAutoscaleSettingCommand()
5454
{

src/ResourceManager/Insights/Commands.Insights.Test/Autoscale/RemoveAzureRmAutoscaleSettingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public RemoveAzureRmAutoscaleSettingTests(Xunit.Abstractions.ITestOutputHelper o
4040
{
4141
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4242
insightsAutoscaleOperationsMock = new Mock<IAutoscaleSettingsOperations>();
43-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
43+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4444
commandRuntimeMock = new Mock<ICommandRuntime>();
4545
cmdlet = new RemoveAzureRmAutoscaleSettingCommand()
4646
{

src/ResourceManager/Insights/Commands.Insights.Test/Diagnostics/GetDiagnosticSettingCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public GetDiagnosticSettingCommandTests(Xunit.Abstractions.ITestOutputHelper out
4343
{
4444
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4545
insightsDiagnosticsOperationsMock = new Mock<IDiagnosticSettingsOperations>();
46-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
46+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4747
commandRuntimeMock = new Mock<ICommandRuntime>();
4848
cmdlet = new GetAzureRmDiagnosticSettingCommand()
4949
{

src/ResourceManager/Insights/Commands.Insights.Test/Diagnostics/RemoveDiagnosticSettingCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public RemoveDiagnosticSettingCommandTests(Xunit.Abstractions.ITestOutputHelper
4444
{
4545
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4646
this.insightsDiagnosticsOperationsMock = new Mock<IDiagnosticSettingsOperations>();
47-
this.insightsManagementClientMock = new Mock<MonitorManagementClient>();
47+
this.insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4848
this.commandRuntimeMock = new Mock<ICommandRuntime>();
4949
this.cmdlet = new RemoveAzureRmDiagnosticSettingCommand()
5050
{

src/ResourceManager/Insights/Commands.Insights.Test/Diagnostics/SetDiagnosticSettingCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public SetDiagnosticSettingCommandTests(Xunit.Abstractions.ITestOutputHelper out
4848
{
4949
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
5050
this.insightsDiagnosticsOperationsMock = new Mock<IDiagnosticSettingsOperations>();
51-
this.insightsManagementClientMock = new Mock<MonitorManagementClient>();
51+
this.insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5252
this.commandRuntimeMock = new Mock<ICommandRuntime>();
5353
this.cmdlet = new SetAzureRmDiagnosticSettingCommand()
5454
{

src/ResourceManager/Insights/Commands.Insights.Test/LogProfiles/AddAzureRmLogProfileTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public AddAzureRmLogProfileTests(ITestOutputHelper output)
4444
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4545
TestExecutionHelpers.SetUpSessionAndProfile();
4646
insightsLogProfileOperationsMock = new Mock<ILogProfilesOperations>();
47-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
47+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4848
commandRuntimeMock = new Mock<ICommandRuntime>();
4949
cmdlet = new AddAzureRmLogProfileCommand()
5050
{

src/ResourceManager/Insights/Commands.Insights.Test/LogProfiles/GetAzureRmLogProfileTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public GetAzureRmLogProfileTests(ITestOutputHelper output)
4141
{
4242
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4343
insightsLogProfileOperationsMock = new Mock<ILogProfilesOperations>();
44-
MonitorClientMock = new Mock<MonitorManagementClient>();
44+
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4545
commandRuntimeMock = new Mock<ICommandRuntime>();
4646
cmdlet = new GetAzureRmLogProfileCommand()
4747
{

src/ResourceManager/Insights/Commands.Insights.Test/LogProfiles/RemoveAzureRmLogProfileTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public RemoveAzureRmLogProfileTest(Xunit.Abstractions.ITestOutputHelper output)
3636
{
3737
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
3838
insightsLogProfilesOperationsMock = new Mock<ILogProfilesOperations>();
39-
insightsManagementClientMock = new Mock<MonitorManagementClient>();
39+
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4040
commandRuntimeMock = new Mock<ICommandRuntime>();
4141
cmdlet = new RemoveAzureRmLogProfileCommand()
4242
{

src/ResourceManager/Insights/Commands.Insights.Test/Metrics/GetAzureRmMetricDefinitionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public GetAzureRmMetricDefinitionTests(Xunit.Abstractions.ITestOutputHelper outp
3939
{
4040
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
4141
insightsMetricDefinitionOperationsMock = new Mock<IMetricDefinitionsOperations>();
42-
MonitorClientMock = new Mock<MonitorManagementClient>();
42+
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
4343
commandRuntimeMock = new Mock<ICommandRuntime>();
4444
cmdlet = new GetAzureRmMetricDefinitionCommand()
4545
{

src/ResourceManager/Insights/Commands.Insights.Test/Metrics/GetAzureRmMetricTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public GetAzureRmMetricTests(Xunit.Abstractions.ITestOutputHelper output)
5050
{
5151
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
5252
insightsMetricOperationsMock = new Mock<IMetricsOperations>();
53-
MonitorClientMock = new Mock<MonitorManagementClient>();
53+
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
5454
commandRuntimeMock = new Mock<ICommandRuntime>();
5555
cmdlet = new GetAzureRmMetricCommand()
5656
{

src/ResourceManager/Profile/Commands.Profile.Test/MockSubscriptionClientFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public SubscriptionClient GetSubscriptionClient()
169169
}
170170
return Task.FromResult(result);
171171
});
172-
var client = new Mock<SubscriptionClient>();
172+
var client = new Mock<SubscriptionClient>() { CallBase = true };
173173
client.SetupGet(c => c.Subscriptions).Returns(subscriptionMock.Object);
174174
client.SetupGet(c => c.Tenants).Returns(tenantMock.Object);
175175
return client.Object;

0 commit comments

Comments
 (0)