Skip to content

Commit

Permalink
Update DefaultKeyGeneratorTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Apr 26, 2024
1 parent bb8e898 commit e83884d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ public void GeneratePartitionKeyQueryDateOnly()
public void GeneratePartitionKeyQueryDateTime()
{
var startDate = new DateTimeOffset(2024, 4, 1, 0, 0, 0, TimeSpan.FromHours(-5));
var startTime = startDate.DateTime;
var startTime = startDate.UtcDateTime;

var endDate = new DateTimeOffset(2024, 4, 2, 0, 0, 0, TimeSpan.FromHours(-5));
var endTime = endDate.DateTime;
var endTime = endDate.UtcDateTime;

var partitionKeyQuery = DefaultKeyGenerator.GeneratePartitionKeyQuery(startTime, endTime);
partitionKeyQuery.Should().NotBeNull();
Expand Down

0 comments on commit e83884d

Please sign in to comment.