From 50d450eab93e45ec7709e6a977861610661528fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Feb 2022 17:01:15 +0000 Subject: [PATCH 1/2] Bump Microsoft.Azure.Cosmos from 3.23.0 to 3.25.0 Bumps [Microsoft.Azure.Cosmos](https://github.com/Azure/azure-cosmos-dotnet-v3) from 3.23.0 to 3.25.0. - [Release notes](https://github.com/Azure/azure-cosmos-dotnet-v3/releases) - [Changelog](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/changelog.md) - [Commits](https://github.com/Azure/azure-cosmos-dotnet-v3/compare/3.23.0...3.25.0) --- updated-dependencies: - dependency-name: Microsoft.Azure.Cosmos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- src/EFCore.Cosmos/EFCore.Cosmos.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EFCore.Cosmos/EFCore.Cosmos.csproj b/src/EFCore.Cosmos/EFCore.Cosmos.csproj index 804936372e5..e5ffde7bb30 100644 --- a/src/EFCore.Cosmos/EFCore.Cosmos.csproj +++ b/src/EFCore.Cosmos/EFCore.Cosmos.csproj @@ -45,7 +45,7 @@ - + From 3c53b71778adf561aaf53aa47c0595af2372cb97 Mon Sep 17 00:00:00 2001 From: Andriy Svyryd Date: Fri, 25 Feb 2022 10:44:02 -0800 Subject: [PATCH 2/2] Fix expected exception message --- test/EFCore.Cosmos.FunctionalTests/ConfigPatternsCosmosTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/EFCore.Cosmos.FunctionalTests/ConfigPatternsCosmosTest.cs b/test/EFCore.Cosmos.FunctionalTests/ConfigPatternsCosmosTest.cs index 2dfa207e072..b6c981749a6 100644 --- a/test/EFCore.Cosmos.FunctionalTests/ConfigPatternsCosmosTest.cs +++ b/test/EFCore.Cosmos.FunctionalTests/ConfigPatternsCosmosTest.cs @@ -81,7 +81,8 @@ public async Task Should_throw_if_specified_region_is_wrong() context.SaveChanges(); }); - Assert.Equal("Current location is not a valid Azure region.", exception.Message); + + Assert.Equal("ApplicationRegion configuration 'FakeRegion' is not a valid Azure region or the current SDK version does not recognize it. If the value represents a valid region, make sure you are using the latest SDK version.", exception.Message); } [ConditionalFact]