storing tests indexed by classname and not spl_object_hash
This commit is contained in:
parent
89f772d169
commit
c27b982d20
@ -15,7 +15,7 @@ class GroupTest extends UnitTestCase
|
|||||||
if($testCase instanceOf GroupTest) {
|
if($testCase instanceOf GroupTest) {
|
||||||
$this->_testCases = array_merge($this->_testCases, $testCase->getTestCases());
|
$this->_testCases = array_merge($this->_testCases, $testCase->getTestCases());
|
||||||
} else {
|
} else {
|
||||||
$this->_testCases[spl_object_hash($testCase)] = $testCase;
|
$this->_testCases[get_class($testCase)] = $testCase;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user