We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 430af84 commit e5ab3e9Copy full SHA for e5ab3e9
1 file changed
Orm/Xtensive.Orm.Tests/Linq/DateTimeAndDateTimeOffset/DateTime/PartsExtractionTest.cs
@@ -129,9 +129,9 @@ public void ExtractDateFromMicrosecondsTest(string testValueString)
129
{
130
Require.ProviderIs(StorageProvider.SqlServer);
131
ExecuteInsideSession(() => {
132
- var testDateTimeOffset = DateTimeOffset.Parse(testValueString);
133
- _ = new SingleDateTimeOffsetEntity() { MillisecondDateTimeOffset = testDateTimeOffset };
134
- RunTest<SingleDateTimeOffsetEntity>(c => c.MillisecondDateTimeOffset.Date == testDateTimeOffset.Date);
+ var testDateTime = DateTime.Parse(testValueString);
+ _ = new SingleDateTimeEntity() { MillisecondDateTime = testDateTime };
+ RunTest<SingleDateTimeEntity>(c => c.MillisecondDateTime.Date == testDateTime.Date);
135
});
136
}
137
0 commit comments