File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
aspnet-core/test/AbpCompanyName.AbpProjectName.Tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <VersionPrefix >1.0.0.0</VersionPrefix >
5- <TargetFrameworks >netcoreapp1.1 </TargetFrameworks >
5+ <TargetFrameworks >netcoreapp2.0 </TargetFrameworks >
66 <AssetTargetFallback >$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback >
77 <AssemblyName >AbpCompanyName.AbpProjectName.Tests</AssemblyName >
88 <PackageId >AbpCompanyName.AbpProjectName.Tests</PackageId >
1818 </ItemGroup >
1919
2020 <ItemGroup >
21- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.0 .0" />
21+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.3 .0" />
2222 <PackageReference Include =" NSubstitute" Version =" 2.0.3" />
2323 <PackageReference Include =" Shouldly" Version =" 2.8.3" />
2424 <PackageReference Include =" xunit" Version =" 2.2.0" />
2525 <PackageReference Include =" xunit.extensibility.execution" Version =" 2.2.0" />
2626 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.2.0" />
2727 <PackageReference Include =" Abp.TestBase" Version =" 3.0.0-beta2" />
28- <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 1.1.2 " />
28+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 2.0.0 " />
2929 </ItemGroup >
3030
3131 <ItemGroup Condition =" '$(TargetFramework)' == 'net461' " >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public AbpProjectNameTestModule(AbpProjectNameEntityFrameworkModule abpProjectNa
2929 public override void PreInitialize ( )
3030 {
3131 Configuration . UnitOfWork . Timeout = TimeSpan . FromMinutes ( 30 ) ;
32+ Configuration . UnitOfWork . IsTransactional = false ;
3233
3334 //Disable static mapper usage since it breaks unit tests (see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2052)
3435 Configuration . Modules . AbpAutoMapper ( ) . UseStaticMapper = false ;
You can’t perform that action at this time.
0 commit comments