Skip to content

Commit 8b73f5a

Browse files
[release/10.0.1xx] Source code updates from dotnet/efcore (#4841)
[release/10.0.1xx] Source code updates from dotnet/efcore
1 parent 814d65f commit 8b73f5a

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

src/efcore/test/EFCore.Cosmos.FunctionalTests/Query/Translations/Temporal/DateTimeOffsetTranslationsCosmosTest.cs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public override async Task Date()
4444

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

5049
AssertSql(
5150
"""
@@ -78,8 +77,7 @@ public override async Task DayOfYear()
7877

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

8482
AssertSql(
8583
"""
@@ -117,8 +115,7 @@ FROM root c
117115

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

123120
AssertSql(
124121
"""
@@ -130,8 +127,7 @@ FROM root c
130127

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

136132
AssertSql(
137133
"""
@@ -143,8 +139,7 @@ FROM root c
143139

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

149144
AssertSql(
150145
"""

src/source-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"commitSha": "73f1fdca8d9fb191297a7e687790b804f4e78ef5"
3838
},
3939
{
40-
"barId": 301475,
40+
"barId": 301672,
4141
"path": "efcore",
4242
"remoteUri": "https://github.com/dotnet/efcore",
43-
"commitSha": "b3eefd3910e9cf87430a5e2f3b63bfdea45b50f7"
43+
"commitSha": "53ccad6e0050b2f1f12b5f03bb81c64d017801a7"
4444
},
4545
{
4646
"barId": 298197,

0 commit comments

Comments
 (0)