Commit c27b982d authored by meus's avatar meus

storing tests indexed by classname and not spl_object_hash

parent 89f772d1
...@@ -15,7 +15,7 @@ class GroupTest extends UnitTestCase ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment