Skip to content

Commit b2b1680

Browse files
committed
Fixed to match previous branch
1 parent a8b348e commit b2b1680

File tree

7 files changed

+9
-13
lines changed

7 files changed

+9
-13
lines changed

src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ public void UpdateAccountTest()
5858
};
5959

6060
AccountResource accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup, tags);
61-
6261
BatchAccountContext expected = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource);
63-
6462
batchClientMock.Setup(b => b.UpdateAccount(resourceGroup, accountName, tags, storageId)).Returns(expected);
6563

6664
cmdlet.AccountName = accountName;

src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public static AzureOperationResponse<IPage<TBody>, THeader> CreateGenericAzureOp
227227
Body = new MockPagedEnumerable<TBody>(),
228228
Headers = new THeader()
229229
};
230+
230231
return response;
231232
}
232233

src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
<Reference Include="Microsoft.Azure.Management.Authorization">
6565
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll</HintPath>
6666
</Reference>
67-
<Reference Include="Microsoft.Azure.Management.Batch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68-
<SpecificVersion>False</SpecificVersion>
69-
<HintPath>..\..\..\..\..\azure-sdk-for-net\src\ResourceManagement\Batch\BatchManagement\bin\Net45-Debug\Microsoft.Azure.Management.Batch.dll</HintPath>
67+
<Reference Include="Microsoft.Azure.Management.Batch, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Batch.2.0.0\lib\net45\Microsoft.Azure.Management.Batch.dll</HintPath>
69+
<Private>True</Private>
7070
</Reference>
7171
<Reference Include="Microsoft.Azure.ResourceManager">
7272
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Resources.2.20.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll</HintPath>
@@ -405,7 +405,7 @@
405405
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
406406
</None>
407407
<None Include="SessionRecords\Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests\TestGetComputeNodeRemoteLoginSettingsPipeline.json">
408-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
408+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
409409
</None>
410410
<None Include="SessionRecords\Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests\TestListAllComputeNodes.json">
411411
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
1010
<package id="Microsoft.Azure.Management.Batch" version="2.0.0" targetFramework="net45" />
1111
<package id="Microsoft.Azure.Management.Resources" version="2.20.0-preview" targetFramework="net45" />
12-
<package id="Microsoft.Azure.Test.Framework" version="1.0.5896.19355-prerelease" targetFramework="net45" />
12+
<package id="Microsoft.Azure.Test.Framework" version="1.0.5945.28173-prerelease" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.6.0-preview" targetFramework="net45" />
1414
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
1515
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />

src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
<HintPath>..\..\..\packages\Microsoft.Azure.KeyVault.Core.1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll</HintPath>
5959
<Private>True</Private>
6060
</Reference>
61-
<Reference Include="Microsoft.Azure.Management.Batch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
62-
<SpecificVersion>False</SpecificVersion>
63-
<HintPath>..\..\..\..\..\azure-sdk-for-net\src\ResourceManagement\Batch\BatchManagement\bin\Net45-Debug\Microsoft.Azure.Management.Batch.dll</HintPath>
61+
<Reference Include="Microsoft.Azure.Management.Batch, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
62+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Batch.2.0.0\lib\net45\Microsoft.Azure.Management.Batch.dll</HintPath>
63+
<Private>True</Private>
6464
</Reference>
6565
<Reference Include="Microsoft.Azure.ResourceManager">
6666
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Resources.2.20.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll</HintPath>
@@ -128,7 +128,6 @@
128128
<Reference Include="System.Data.Services.Client" />
129129
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
130130
<SpecificVersion>False</SpecificVersion>
131-
<HintPath>D:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
132131
</Reference>
133132
<Reference Include="System.Net" />
134133
<Reference Include="System.Net.Http" />

src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSTaskDependencies.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ namespace Microsoft.Azure.Commands.Batch.Models
2626
using System.Collections.Generic;
2727
using Microsoft.Azure.Batch;
2828

29-
3029
public class PSTaskDependencies
3130
{
3231

src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchClient.Accounts.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
using System.Collections.Generic;
2222
using System.Linq;
2323
using System.Net.Http;
24-
using System.Threading.Tasks;
2524
using Microsoft.Azure.Batch;
2625
using Microsoft.Rest.Azure;
2726
using CloudException = Hyak.Common.CloudException;

0 commit comments

Comments
 (0)