File tree Expand file tree Collapse file tree 8 files changed +32
-34
lines changed
UnitTestingDemo.Data.Tests
UnitTestingDemo.Services.Tests Expand file tree Collapse file tree 8 files changed +32
-34
lines changed Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >netstandard2.1 </TargetFramework >
3+ <TargetFramework >net6.0 </TargetFramework >
44 </PropertyGroup >
55 <ItemGroup >
6- <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 5 .0.5 " />
7- <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 5 .0.5 " />
8- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 5 .0.5 " />
9- <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 5 .0.5 " >
6+ <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 7 .0.4 " />
7+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 7 .0.4 " />
8+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 7 .0.4 " />
9+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 7 .0.4 " >
1010 <PrivateAssets >all</PrivateAssets >
1111 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
1212 </PackageReference >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netstandard2.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55 </PropertyGroup >
66</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >netstandard2.1 </TargetFramework >
3+ <TargetFramework >net6.0 </TargetFramework >
44 </PropertyGroup >
55 <ItemGroup >
66 <ProjectReference Include =" ..\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
Original file line number Diff line number Diff line change 11using System . Linq ;
22using Microsoft . AspNetCore . Http ;
33using Microsoft . AspNetCore . Mvc ;
4- using MoreLinq . Extensions ;
54using UnitTestingDemo . Models ;
65using UnitTestingDemo . Services . Interfaces ;
76
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk.Web" >
1+ <Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <AspNetCoreHostingModel >InProcess</AspNetCoreHostingModel >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 5.0.2" />
8- <PackageReference Include =" morelinq" Version =" 3.3.2" />
7+ <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 6.0.13" />
98 </ItemGroup >
109 <ItemGroup >
1110 <ProjectReference Include =" ..\UnitTestingDemo.Services\UnitTestingDemo.Services.csproj" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" EntityFrameworkCoreMock.Moq" Version =" 2.1 .0" />
8- <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 5 .0.5 " />
9- <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 5 .0.5 " />
10- <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 5 .0.5 " />
11- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.4 " />
12- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.3 " />
13- <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.3 " />
14- <PackageReference Include =" coverlet.collector" Version =" 3.0.3 " >
7+ <PackageReference Include =" EntityFrameworkCoreMock.Moq" Version =" 2.4 .0" />
8+ <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 7 .0.4 " />
9+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 7 .0.4 " />
10+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 7 .0.4 " />
11+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5.0 " />
12+ <PackageReference Include =" MSTest.TestAdapter" Version =" 3.0.2 " />
13+ <PackageReference Include =" MSTest.TestFramework" Version =" 3.0.2 " />
14+ <PackageReference Include =" coverlet.collector" Version =" 3.2.0 " >
1515 <PrivateAssets >all</PrivateAssets >
1616 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1717 </PackageReference >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.4 " />
8- <PackageReference Include =" Moq" Version =" 4.16.1 " />
9- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.3 " />
10- <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.3 " />
11- <PackageReference Include =" coverlet.collector" Version =" 3.0.3 " >
7+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5.0 " />
8+ <PackageReference Include =" Moq" Version =" 4.18.4 " />
9+ <PackageReference Include =" MSTest.TestAdapter" Version =" 3.0.2 " />
10+ <PackageReference Include =" MSTest.TestFramework" Version =" 3.0.2 " />
11+ <PackageReference Include =" coverlet.collector" Version =" 3.2.0 " >
1212 <PrivateAssets >all</PrivateAssets >
1313 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1414 </PackageReference >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.4 " />
8- <PackageReference Include =" Moq" Version =" 4.16.1 " />
9- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.3 " />
10- <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.3 " />
11- <PackageReference Include =" coverlet.collector" Version =" 3.0.3 " >
7+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5.0 " />
8+ <PackageReference Include =" Moq" Version =" 4.18.4 " />
9+ <PackageReference Include =" MSTest.TestAdapter" Version =" 3.0.2 " />
10+ <PackageReference Include =" MSTest.TestFramework" Version =" 3.0.2 " />
11+ <PackageReference Include =" coverlet.collector" Version =" 3.2.0 " >
1212 <PrivateAssets >all</PrivateAssets >
1313 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1414 </PackageReference >
You can’t perform that action at this time.
0 commit comments