From c27b982d208b33196cc533b72f045e91e1732543 Mon Sep 17 00:00:00 2001 From: meus Date: Sun, 2 Sep 2007 20:14:45 +0000 Subject: [PATCH] storing tests indexed by classname and not spl_object_hash --- tests/Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }