Skip to content

Commit

Permalink
Update KeyGeneratorTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Apr 26, 2024
1 parent 9d3d7ae commit 29388bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TableStorage.Abstracts.Tests/KeyGeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,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 = KeyGenerator.GeneratePartitionKeyQuery(startTime, endTime);
partitionKeyQuery.Should().NotBeNull();
Expand Down

0 comments on commit 29388bb

Please sign in to comment.