Skip to content
Merged
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 @@ -44,8 +44,7 @@ public override async Task Date()

public override async Task Year()
{
// Our persisted representation of DateTimeOffset (xxx+00:00) isn't supported by Cosmos (should be xxxZ). #35310
await Assert.ThrowsAsync<EqualException>(() => base.Year());
await base.Year();

AssertSql(
"""
Expand Down Expand Up @@ -78,8 +77,7 @@ public override async Task DayOfYear()

public override async Task Day()
{
// Our persisted representation of DateTimeOffset (xxx+00:00) isn't supported by Cosmos (should be xxxZ). #35310
await Assert.ThrowsAsync<EqualException>(() => base.Day());
await base.Day();

AssertSql(
"""
Expand Down Expand Up @@ -117,8 +115,7 @@ FROM root c

public override async Task Second()
{
// Our persisted representation of DateTimeOffset (xxx+00:00) isn't supported by Cosmos (should be xxxZ). #35310
await Assert.ThrowsAsync<EqualException>(() => base.Second());
await base.Second();

AssertSql(
"""
Expand All @@ -130,8 +127,7 @@ FROM root c

public override async Task Millisecond()
{
// Our persisted representation of DateTimeOffset (xxx+00:00) isn't supported by Cosmos (should be xxxZ). #35310
await Assert.ThrowsAsync<EqualException>(() => base.Millisecond());
await base.Millisecond();

AssertSql(
"""
Expand All @@ -143,8 +139,7 @@ FROM root c

public override async Task Microsecond()
{
// Our persisted representation of DateTimeOffset (xxx+00:00) isn't supported by Cosmos (should be xxxZ). #35310
await Assert.ThrowsAsync<EqualException>(() => base.Microsecond());
await base.Microsecond();

AssertSql(
"""
Expand Down
Loading