1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Add missing tests for day calculation

For the DATE_SUB() and DATE_ADD() functions.
This commit is contained in:
Luís Cobucci 2018-02-09 16:57:37 +01:00
parent 46c0861f45
commit 7873f700b0
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -355,6 +355,7 @@ class QueryDqlFunctionTest extends OrmFunctionalTestCase
'year' => ['year', 1, $secondsInDay],
'month' => ['month', 1, $secondsInDay],
'week' => ['week', 1, $secondsInDay],
'day' => ['day', 2, $secondsInDay],
'hour' => ['hour', 1, 3600],
'minute' => ['minute', 1, 60],
'second' => ['second', 10, 10],