From b875866949dea90c6ad2029ad3cbfbfc0479be30 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 2 Sep 2026 10:17:43 +0000 Subject: [PATCH] Address review feedback on enum adapter comment and child UoW test Co-authored-by: maliming <6908465+maliming@users.noreply.github.com> --- .../AbpValidationAttributeAdapterProvider_Tests.cs | 2 +- .../Volo/Abp/Uow/UnitOfWork_Child_Events_Tests.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/DataAnnotations/AbpValidationAttributeAdapterProvider_Tests.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/DataAnnotations/AbpValidationAttributeAdapterProvider_Tests.cs index 365ed6b3cc..f2041f5919 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/DataAnnotations/AbpValidationAttributeAdapterProvider_Tests.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/DataAnnotations/AbpValidationAttributeAdapterProvider_Tests.cs @@ -17,7 +17,7 @@ public class AbpValidationAttributeAdapterProvider_Tests [Fact] public void Should_Return_An_Adapter_For_The_EnumDataTypeAttribute() { - //The default ASP.NET Core provider returns null for it, that's why we supply our own adapter. + //ABP supplies its own adapter for the EnumDataTypeAttribute. _provider.GetAttributeAdapter(new EnumDataTypeAttribute(typeof(MyEnum)), null) .ShouldBeOfType(); } diff --git a/framework/test/Volo.Abp.Uow.Tests/Volo/Abp/Uow/UnitOfWork_Child_Events_Tests.cs b/framework/test/Volo.Abp.Uow.Tests/Volo/Abp/Uow/UnitOfWork_Child_Events_Tests.cs index 0d141590ed..127494b020 100644 --- a/framework/test/Volo.Abp.Uow.Tests/Volo/Abp/Uow/UnitOfWork_Child_Events_Tests.cs +++ b/framework/test/Volo.Abp.Uow.Tests/Volo/Abp/Uow/UnitOfWork_Child_Events_Tests.cs @@ -67,6 +67,8 @@ public class UnitOfWork_Child_Events_Tests : AbpIntegratedTest