Skip to content

Commit f94f207

Browse files
committed
test: target net8.0 across the board
1 parent 1af0964 commit f94f207

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

tests/QueryableValues.SqlServer.Tests.EFCore3/QueryableValues.SqlServer.Tests.EFCore3.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="../SharedTestProjectProperties.xml" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
<AssemblyName>BlazarTech.QueryableValues.SqlServer.Tests.EFCore3</AssemblyName>
77
<DefineConstants>$(DefineConstants);TESTS;EFCORE3</DefineConstants>
88
</PropertyGroup>

tests/QueryableValues.SqlServer.Tests.EFCore5/QueryableValues.SqlServer.Tests.EFCore5.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="../SharedTestProjectProperties.xml" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
<AssemblyName>BlazarTech.QueryableValues.SqlServer.Tests.EFCore5</AssemblyName>
77
<DefineConstants>$(DefineConstants);TESTS;EFCORE5</DefineConstants>
88
</PropertyGroup>

tests/QueryableValues.SqlServer.Tests.EFCore6/QueryableValues.SqlServer.Tests.EFCore6.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="../SharedTestProjectProperties.xml" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
<AssemblyName>BlazarTech.QueryableValues.SqlServer.Tests.EFCore6</AssemblyName>
77
<DefineConstants>$(DefineConstants);TESTS;EFCORE6</DefineConstants>
88
</PropertyGroup>

tests/QueryableValues.SqlServer.Tests.EFCore7/QueryableValues.SqlServer.Tests.EFCore7.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="../SharedTestProjectProperties.xml" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
<AssemblyName>BlazarTech.QueryableValues.SqlServer.Tests.EFCore7</AssemblyName>
77
<DefineConstants>$(DefineConstants);TESTS;EFCORE7</DefineConstants>
88
</PropertyGroup>

tests/QueryableValues.SqlServer.Tests/Integration/SimpleTypeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ orderby td.Id
957957
Assert.Equal(2, actual[0].ChildEntity.Count);
958958

959959
Assert.Equal(3, actual[1].Id);
960-
Assert.Equal(1, actual[1].ChildEntity.Count);
960+
Assert.Single(actual[1].ChildEntity);
961961
}
962962

963963
[Fact]
@@ -980,7 +980,7 @@ orderby td.Id
980980
Assert.Single(actual);
981981

982982
Assert.Equal(3, actual[0].Id);
983-
Assert.Equal(1, actual[0].ChildEntity.Count);
983+
Assert.Single(actual[0].ChildEntity);
984984
}
985985

986986
[Fact]

0 commit comments

Comments
 (0)