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 2
2
3
3
<PropertyGroup >
4
4
<VersionPrefix >1.0.0.0</VersionPrefix >
5
- <TargetFrameworks >netcoreapp1.1 </TargetFrameworks >
5
+ <TargetFrameworks >netcoreapp2.0 </TargetFrameworks >
6
6
<AssetTargetFallback >$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback >
7
7
<AssemblyName >AbpCompanyName.AbpProjectName.Tests</AssemblyName >
8
8
<PackageId >AbpCompanyName.AbpProjectName.Tests</PackageId >
18
18
</ItemGroup >
19
19
20
20
<ItemGroup >
21
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.0 .0" />
21
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.3 .0" />
22
22
<PackageReference Include =" NSubstitute" Version =" 2.0.3" />
23
23
<PackageReference Include =" Shouldly" Version =" 2.8.3" />
24
24
<PackageReference Include =" xunit" Version =" 2.2.0" />
25
25
<PackageReference Include =" xunit.extensibility.execution" Version =" 2.2.0" />
26
26
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.2.0" />
27
27
<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 " />
29
29
</ItemGroup >
30
30
31
31
<ItemGroup Condition =" '$(TargetFramework)' == 'net461' " >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public AbpProjectNameTestModule(AbpProjectNameEntityFrameworkModule abpProjectNa
29
29
public override void PreInitialize ( )
30
30
{
31
31
Configuration . UnitOfWork . Timeout = TimeSpan . FromMinutes ( 30 ) ;
32
+ Configuration . UnitOfWork . IsTransactional = false ;
32
33
33
34
//Disable static mapper usage since it breaks unit tests (see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2052)
34
35
Configuration . Modules . AbpAutoMapper ( ) . UseStaticMapper = false ;
You can’t perform that action at this time.
0 commit comments