Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void WhenCalledWithCreatedAtMaxParameter_GivenSomeOrdersCreatedBeforeThat
public void WhenCalledWithCreatedAtMaxParameter_GivenAllOrdersCreatedAfterThatDate_ShouldReturnEmptyCollection()
{
// Arange
DateTime createdAtMaxDate = _baseDate.Subtract(new TimeSpan(365)); // subtract one year
DateTime createdAtMaxDate = _baseDate.Subtract(new TimeSpan(365, 0, 0, 0, 0)); // subtract one year

// Act
var orders = _orderApiService.GetOrders(createdAtMax: createdAtMaxDate);
Expand All @@ -101,4 +101,4 @@ public void WhenCalledWithCreatedAtMaxParameter_GivenAllOrdersCreatedAfterThatDa
CollectionAssert.IsEmpty(orders);
}
}
}
}