File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/EFCore.MySql.FunctionalTests/Query Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ await AssertSingle(
33
33
. Where ( i => i . BestServedBefore . DayNumber - todayDateTime . DayNumber < 30 ) ) ;
34
34
35
35
AssertSql (
36
- @"@__todayDateTime_DayNumber_0='738170 '
36
+ $ @ "@__todayDateTime_DayNumber_0='{ todayDateTime . DayNumber } '
37
37
38
38
SELECT `i`.`IceCreamId`, `i`.`BestServedBefore`, `i`.`Name`
39
39
FROM `IceCream` AS `i`
@@ -131,7 +131,7 @@ public async Task DateDiffDay(bool isAsync)
131
131
Assert . Single ( result ) ;
132
132
133
133
AssertSql (
134
- @"@__todayDateOnly_1='01/16/2022 ' (DbType = Date)
134
+ $ @ "@__todayDateOnly_1='{ todayDateOnly : MM'/'dd'/'yyyy } ' (DbType = Date)
135
135
136
136
SELECT `i`.`IceCreamId`, `i`.`BestServedBefore`, `i`.`Name`
137
137
FROM `IceCream` AS `i`
You can’t perform that action at this time.
0 commit comments