From d4c9438178e16374db26d1dc084ce51136978e47 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Kolli Date: Thu, 12 Sep 2024 03:49:49 -0700 Subject: [PATCH] Dependencies: Fixes Pinning System.Net.Http and System.Text.RegularExpressions to latest patched versions (#4676) * Pinning System.Net.Http and System.Text.RegularExpressions to latest patched versions * Fixing the unit test --- Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj | 2 ++ .../Contracts/DirectContractTests.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj b/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj index 6fa9a6f282..bfe90ace04 100644 --- a/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj +++ b/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj @@ -119,6 +119,8 @@ + + diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs index 2b03a74390..28524c3312 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs @@ -128,6 +128,8 @@ public void ProjectPackageDependenciesTest() { "Microsoft.Bcl.HashCode", new Version(1, 1, 0) }, { "Azure.Core", new Version(1, 19, 0) }, { "System.Diagnostics.DiagnosticSource", new Version(6, 0, 1) }, + { "System.Net.Http", new Version(4, 3, 4) }, + { "System.Text.RegularExpressions", new Version(4, 3, 1) }, }; Assert.AreEqual(projectDependencies.Count, baselineDependencies.Count);