diff --git a/tests/AppLibrary.Tests/LocalRepositoryTests/GetPagedList.cs b/tests/AppLibrary.Tests/LocalRepositoryTests/GetPagedList.cs index 37fa62a..062144b 100644 --- a/tests/AppLibrary.Tests/LocalRepositoryTests/GetPagedList.cs +++ b/tests/AppLibrary.Tests/LocalRepositoryTests/GetPagedList.cs @@ -68,7 +68,7 @@ public async Task GivenAscSorting_ReturnsAscSortedList() public async Task GivenDescSorting_ReturnsDescSortedList() { // Arrange - var items = Repository.Items.OrderBy(entity => entity.Note).ToList(); + var items = Repository.Items.OrderByDescending(entity => entity.Note).ToList(); var itemsCount = items.Count; var paging = new PaginatedRequest(1, itemsCount, "Note desc");