Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwaldron committed Jan 9, 2025
1 parent 3468821 commit 5c90f05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 5c90f05

Please sign in to comment.