diff --git a/tests/Test.php b/tests/Test.php index 2f73d4dfb..306fca50f 100644 --- a/tests/Test.php +++ b/tests/Test.php @@ -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; } }