File tree Expand file tree Collapse file tree
tests/Panner.AspNetCore.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netcoreapp3.1;net5 .0</TargetFrameworks >
4+ <TargetFrameworks >net8.0;net9 .0</TargetFrameworks >
55 <AssemblyName >Panner.AspNetCore</AssemblyName >
66 <RootNamespace >Panner.AspNetCore</RootNamespace >
77 <Authors >OSDKDev</Authors >
1515 <Copyright >Copyright (c) 2019 OSDKDev</Copyright >
1616 <Description >Sorting and filtering made easy for your ASP.NET Core project! Go from a CSV input to a filtered/sorted IQueryable with no effort.</Description >
1717 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
18- <LangVersion >8 .0</LangVersion >
18+ <LangVersion >12 .0</LangVersion >
1919 </PropertyGroup >
2020
2121 <ItemGroup >
2525 </ItemGroup >
2626
2727 <ItemGroup >
28- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Core" Version =" 2.2.5 " />
29- <PackageReference Include =" Panner" Version =" 2.* " />
28+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Core" Version =" 2.3.0 " />
29+ <PackageReference Include =" Panner" Version =" 3.0.0 " />
3030 </ItemGroup >
3131
3232 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netcoreapp3.1;net5 .0</TargetFrameworks >
5- <LangVersion >8 .0</LangVersion >
4+ <TargetFrameworks >net8.0;net9 .0</TargetFrameworks >
5+ <LangVersion >12 .0</LangVersion >
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
88
99 <ItemGroup >
10- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
11- <PackageReference Include =" Moq" Version =" 4.13.1 " />
12- <PackageReference Include =" NSubstitute" Version =" 4.2.1 " />
13- <PackageReference Include =" xunit" Version =" 2.4.0 " />
14- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.0 " />
15- <PackageReference Include =" coverlet.msbuild" Version =" 2.7.0 " >
10+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1 " />
11+ <PackageReference Include =" Moq" Version =" 4.20.72 " />
12+ <PackageReference Include =" NSubstitute" Version =" 5.3.0 " />
13+ <PackageReference Include =" xunit" Version =" 2.9.3 " />
14+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.1 " />
15+ <PackageReference Include =" coverlet.msbuild" Version =" 6.0.4 " >
1616 <PrivateAssets >all</PrivateAssets >
1717 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1818 </PackageReference >
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ public void NullIPContextThrows()
4141 }
4242
4343 [ Fact ]
44- public void NullBindingContextThrows ( )
44+ public async Task NullBindingContextThrows ( )
4545 {
4646 var x = Create ( GetPannerContext ( ) ) ;
4747
48- Assert . Throws < ArgumentNullException > ( ( ) =>
48+ await Assert . ThrowsAsync < ArgumentNullException > ( async ( ) =>
4949 {
50- x . BindModelAsync ( null ) ;
50+ await x . BindModelAsync ( null ) ;
5151 } ) ;
5252 }
5353
You can’t perform that action at this time.
0 commit comments