summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/Model/ProjectDailyStatsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Model/ProjectDailyStatsTest.php b/tests/units/Model/ProjectDailyStatsTest.php
index c17017c9..677a97d0 100644
--- a/tests/units/Model/ProjectDailyStatsTest.php
+++ b/tests/units/Model/ProjectDailyStatsTest.php
@@ -29,12 +29,12 @@ class ProjectDailyStatsTest extends Base
$metrics = $pds->getRawMetrics(1, date('Y-m-d', strtotime('-1days')), date('Y-m-d'));
$expected = array(
array(
- 'day' => '2015-11-20',
+ 'day' => date('Y-m-d', strtotime('-1days')),
'avg_lead_time' => 0,
'avg_cycle_time' => 43200,
),
array(
- 'day' => '2015-11-21',
+ 'day' => date('Y-m-d'),
'avg_lead_time' => 0,
'avg_cycle_time' => 43200,
)