Skip to content

Commit

Permalink
fixed 'this' call in TestRunner::runstatic. next, findTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Hirsch committed Oct 15, 2009
1 parent 131247a commit 0c9dd97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TestRunner.php
Expand Up @@ -71,7 +71,8 @@ public function runAndReport(UnitTest $testClass,
public static function runStatic(UnitTest $testClass,
Reporter $reporter = null)
{
$testClass->runAndReport($testClass, $reporter);
$tr = new TestRunner;
$tr->runAndReport($testClass, $reporter);
}

}

0 comments on commit 0c9dd97

Please sign in to comment.