Skip to content

Commit 4c885dc

Browse files
Commands.ScenarioTests.Common proj referenced to get Category.RunType.
1 parent fd04b6d commit 4c885dc

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/Common/Commands.Common.Compute.Tests/Commands.Common.Compute.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@
8080
<Project>{f6d508d1-be2d-475d-aa0f-dfb5c615cc9d}</Project>
8181
<Name>Commands.Common.Compute</Name>
8282
</ProjectReference>
83+
<ProjectReference Include="..\Commands.ScenarioTests.Common\Commands.ScenarioTests.Common.csproj">
84+
<Project>{C1BDA476-A5CC-4394-914D-48B0EC31A710}</Project>
85+
<Name>Commands.ScenarioTests.Common</Name>
86+
</ProjectReference>
8387
</ItemGroup>
8488
<ItemGroup>
8589
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />

src/Common/Commands.Common.Compute.Tests/CredentialManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static CredentialManager FromServicePrincipalEnvVariable(string envVariab
5757
//AZURE_SERVICE_PRINCIPAL = UserId =< UserGuid >; Password =< Password >; AADTenant =< TenantGuid >; SubscriptionId =< SubscriptionId >
5858
var spString = Environment.GetEnvironmentVariable(envVariableName);
5959

60-
if (spString == null) throw new ArgumentNullException($"Failed to get {envVariableName}");
60+
if (spString == null) throw new ArgumentNullException($"Failed to get environment variable {envVariableName}");
6161

6262
var sp = new Dictionary<string, string>();
6363
var pairs = spString.Trim().Split(';');

src/Common/Commands.Common.Compute.Tests/Version2016-04-preview/ComputeManagementClientShould.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
// ----------------------------------------------------------------------------------
1414

1515

16+
1617
namespace Microsoft.Azure.Commands.Common.Compute.Tests
1718
{
1819
using Compute.Version2016_04_preview;
20+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1921
using Xunit;
2022
using System.Linq;
2123

0 commit comments

Comments
 (0)