public function itComputesDateBasedOnStartDate()
 {
     $start_date = mktime(0, 0, 0, 7, 4, 2012);
     $time_period = new Tracker_Chart_Data_BurndownTimePeriod($start_date, 2);
     $this->assertEqual($time_period->getHumanReadableDates(), array('Wed 04', 'Thu 05', 'Fri 06'));
 }
Beispiel #2
0
 /**
  * Returns the Burndown dates in a human readable fashion
  *
  * @return Array
  */
 public function getHumanReadableDates()
 {
     return $this->time_period->getHumanReadableDates();
 }