1
0
mirror of synced 2024-12-13 14:56:01 +03:00

storing tests indexed by classname and not spl_object_hash

This commit is contained in:
meus 2007-09-02 20:14:45 +00:00
parent 89f772d169
commit c27b982d20

View File

@ -15,7 +15,7 @@ class GroupTest extends UnitTestCase
if($testCase instanceOf GroupTest) {
$this->_testCases = array_merge($this->_testCases, $testCase->getTestCases());
} else {
$this->_testCases[spl_object_hash($testCase)] = $testCase;
$this->_testCases[get_class($testCase)] = $testCase;
}
}