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 d5bb122939..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,11 +17,7 @@ public class AbpValidationAttributeAdapterProvider_Tests [Fact] public void Should_Return_An_Adapter_For_The_EnumDataTypeAttribute() { - //ASP.NET Core does not provide an adapter for the EnumDataTypeAttribute. - new ValidationAttributeAdapterProvider() - .GetAttributeAdapter(new EnumDataTypeAttribute(typeof(MyEnum)), null) - .ShouldBeNull(); - + //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 faa8d8ef61..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 @@ -56,6 +56,34 @@ public class UnitOfWork_Child_Events_Tests : AbpIntegratedTest