diff --git a/lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php b/lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php index 597490d60..379d1a472 100644 --- a/lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php +++ b/lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php @@ -231,7 +231,6 @@ class CakeTestFixtureTest extends CakeTestCase { public function setUp() { parent::setUp(); $methods = array_diff(get_class_methods('DboSource'), array('enabled')); - $methods[] = 'connect'; $this->criticDb = $this->getMock('DboSource', $methods); $this->criticDb->fullDebug = true;