From e0bfb2ed2c2e1947a639b8700f77b3913d805049 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 17:01:34 +0000 Subject: [PATCH 1/2] Bump Castle.Core from 4.4.1 to 5.0.0 Bumps [Castle.Core](https://github.com/castleproject/Core) from 4.4.1 to 5.0.0. - [Release notes](https://github.com/castleproject/Core/releases) - [Changelog](https://github.com/castleproject/Core/blob/master/CHANGELOG.md) - [Commits](https://github.com/castleproject/Core/compare/v4.4.1...v5.0.0) --- updated-dependencies: - dependency-name: Castle.Core dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- src/EFCore.Proxies/EFCore.Proxies.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EFCore.Proxies/EFCore.Proxies.csproj b/src/EFCore.Proxies/EFCore.Proxies.csproj index 6021acb74c1..6b2740a680c 100644 --- a/src/EFCore.Proxies/EFCore.Proxies.csproj +++ b/src/EFCore.Proxies/EFCore.Proxies.csproj @@ -39,7 +39,7 @@ - + From 2897911db6d8788c672ad95c0bc69c1c084542de Mon Sep 17 00:00:00 2001 From: Arthur Vickers Date: Tue, 5 Jul 2022 21:39:28 +0100 Subject: [PATCH 2/2] Fixed tests broken by exception type changes. --- test/EFCore.Proxies.Tests/ProxyTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/EFCore.Proxies.Tests/ProxyTests.cs b/test/EFCore.Proxies.Tests/ProxyTests.cs index 140af44dd7b..0e8cd0bafbd 100644 --- a/test/EFCore.Proxies.Tests/ProxyTests.cs +++ b/test/EFCore.Proxies.Tests/ProxyTests.cs @@ -206,28 +206,28 @@ public void Proxy_services_must_be_available() public void Throws_if_type_not_available_to_Castle() { using var context = new NeweyContextN4(); - Assert.Throws(() => context.CreateProxy()); + Assert.Throws(() => context.CreateProxy()); } [ConditionalFact] public void Throws_if_constructor_not_available_to_Castle() { using var context = new NeweyContextN5(); - Assert.Throws(() => context.CreateProxy()); + Assert.Throws(() => context.CreateProxy()); } [ConditionalFact] public void CreateProxy_throws_if_constructor_args_do_not_match() { using var context = new NeweyContext(); - Assert.Throws(() => context.CreateProxy(77, 88)); + Assert.Throws(() => context.CreateProxy(77, 88)); } [ConditionalFact] public void CreateProxy_throws_if_wrong_number_of_constructor_args() { using var context = new NeweyContext(); - Assert.Throws(() => context.CreateProxy(77, 88, 99)); + Assert.Throws(() => context.CreateProxy(77, 88, 99)); } [ConditionalFact]