diff --git a/test/EFCore.Cosmos.FunctionalTests/Query/Translations/Temporal/DateTimeOffsetTranslationsCosmosTest.cs b/test/EFCore.Cosmos.FunctionalTests/Query/Translations/Temporal/DateTimeOffsetTranslationsCosmosTest.cs index 7462373cf05..9c3fe3b05c2 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Query/Translations/Temporal/DateTimeOffsetTranslationsCosmosTest.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Query/Translations/Temporal/DateTimeOffsetTranslationsCosmosTest.cs @@ -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(() => base.Year()); + await base.Year(); AssertSql( """ @@ -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(() => base.Day()); + await base.Day(); AssertSql( """ @@ -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(() => base.Second()); + await base.Second(); AssertSql( """ @@ -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(() => base.Millisecond()); + await base.Millisecond(); AssertSql( """ @@ -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(() => base.Microsecond()); + await base.Microsecond(); AssertSql( """