storing tests indexed by classname and not spl_object_hash
This commit is contained in:
parent
89f772d169
commit
c27b982d20
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue