Skip to content

Commit 23214ce

Browse files
committed
Code review
Redundant bracket, alphabetised the ManualTesting csproj
1 parent 7eef910 commit 23214ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/SqlClientCustomTokenCredential.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ private async Task<AccessToken> AcquireTokenAsync()
3535
{
3636
using (HttpClient httpClient = new HttpClient())
3737
{
38-
string AKVUrl = (new Uri(DataTestUtility.AKVBaseUri, $"/keys/{AKVKeyName}")).AbsoluteUri;
39-
HttpResponseMessage response = await httpClient.GetAsync(AKVUrl);
38+
string akvUrl = new Uri(DataTestUtility.AKVBaseUri, $"/keys/{AKVKeyName}").AbsoluteUri;
39+
HttpResponseMessage response = await httpClient.GetAsync(akvUrl);
4040
string challenge = response?.Headers.WwwAuthenticate.FirstOrDefault()?.ToString();
4141
string trimmedChallenge = ValidateChallenge(challenge);
4242
string[] pairs = trimmedChallenge.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);

src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
<Compile Include="AlwaysEncrypted\End2EndSmokeTests.cs" />
4949
<Compile Include="AlwaysEncrypted\SqlBulkCopyTruncation.cs" />
5050
<Compile Include="AlwaysEncrypted\SqlNullValues.cs" />
51-
<Compile Include="AlwaysEncrypted\TestFixtures\DatabaseHelper.cs" />
5251
<Compile Include="AlwaysEncrypted\TestFixtures\AEConnectionStringProviderWithCspParameters.cs" />
5352
<Compile Include="AlwaysEncrypted\TestFixtures\AzureKeyVaultKeyFixture.cs" />
53+
<Compile Include="AlwaysEncrypted\TestFixtures\DatabaseHelper.cs" />
5454
<Compile Include="AlwaysEncrypted\TestFixtures\SQLSetupStrategy.cs" />
5555
<Compile Include="AlwaysEncrypted\TestFixtures\SQLSetupStrategyCertStoreProvider.cs" />
5656
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\ApiTestTable.cs" />

0 commit comments

Comments
 (0)