File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
NMatcher.Samples.Api.Tests Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3636 run : dotnet build --configuration Release --no-restore
3737
3838 - name : Test
39- run : dotnet test --no-restore
39+ run : dotnet test --no-restore --filter Category!=Samples
Original file line number Diff line number Diff line change 33
44namespace NMatcher . Samples . Api . Tests . Integration ;
55
6+
7+ [ Trait ( "Category" , "Sample" ) ]
68public class WeatherForecastControllerTests
79{
810 [ Fact ]
Original file line number Diff line number Diff line change 1010 </PropertyGroup >
1111
1212 <ItemGroup >
13- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 7 .0.5 " />
13+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 6 .0.16 " />
1414 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.2" />
1515 <PackageReference Include =" NMatcher.FluentAssertions" Version =" 2.2.2" />
1616 <PackageReference Include =" xunit" Version =" 2.4.2" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net7.0</ TargetFramework >
4+ <TargetFrameworks >net6.0;</ TargetFrameworks >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
7+ <LangVersion >11</LangVersion >
78 </PropertyGroup >
89
910 <ItemGroup >
10- <PackageReference Include =" Microsoft.AspNetCore.OpenApi" Version =" 7.0.4" />
11- <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.4.0" />
11+ <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.4.0" />
1212 </ItemGroup >
1313
1414 <ItemGroup >
You can’t perform that action at this time.
0 commit comments