using Abp.AspNetCore.TestBase; using Abp.Modules; using Abp.Reflection.Extensions; using KDTEC.ProManager.Web.Startup; namespace KDTEC.ProManager.Web.Tests { [DependsOn( typeof(ProManagerWebModule), typeof(AbpAspNetCoreTestBaseModule) )] public class ProManagerWebTestModule : AbpModule { public override void PreInitialize() { Configuration.UnitOfWork.IsTransactional = false; //EF Core InMemory DB does not support transactions. } public override void Initialize() { IocManager.RegisterAssemblyByConvention(typeof(ProManagerWebTestModule).GetAssembly()); } } }