Permalink
Browse files

Fixing time tracking on group test cases.

  • Loading branch information...
1 parent caf780f commit b95d9e10601a6a3061e4b283da81c1e18000cbb2 @markstory markstory committed Sep 18, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 cake/tests/lib/cake_reporter.php
@@ -64,7 +64,9 @@ function CakeHtmlReporter($character_set = 'ISO-8859-1') {
* @return void
**/
function paintGroupStart($test_name, $size) {
- $this->_timeStart = $this->_getTime();
+ if (empty($this->_timeStart)) {
+ $this->_timeStart = $this->_getTime();
+ }
parent::paintGroupStart($test_name, $size);
}

0 comments on commit b95d9e1

Please sign in to comment.