Fixed missing sort argument (#15413)

This commit is contained in:
JPVenson
2025-11-08 03:20:42 +02:00
committed by GitHub
parent 8f71922734
commit 91c3b1617e
3 changed files with 54 additions and 37 deletions

View File

@@ -12,7 +12,7 @@ public class OrderMapperTests
[Fact]
public void ShouldReturnMappedOrderForSortingByPremierDate()
{
var orderFunc = OrderMapper.MapOrderByField(ItemSortBy.PremiereDate, new InternalItemsQuery()).Compile();
var orderFunc = OrderMapper.MapOrderByField(ItemSortBy.PremiereDate, new InternalItemsQuery(), null!).Compile();
var expectedDate = new DateTime(1, 2, 3);
var expectedProductionYearDate = new DateTime(4, 1, 1);