Ticket #165: PHPUnitTask_allow-suitename.patch
| File PHPUnitTask_allow-suitename.patch, 474 bytes (added by hans, 10 months ago) |
|---|
-
PHPUnitTask.php
old new 212 212 213 213 if (is_subclass_of($test, 'PHPUnit_Framework_TestSuite') || is_subclass_of($test, 'PHPUnit2_Framework_TestSuite')) 214 214 { 215 $suite = $test; 215 if (is_object($test)) 216 { 217 $suite = $test; 218 } 219 else 220 { 221 $suite = new $test(); 222 } 216 223 } 217 224 else 218 225 {
