From c5d78b6302f755fc944be967aa8eec90e3e112a9 Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Sun, 26 Aug 2018 01:24:18 +0200 Subject: [PATCH] Remove duplicate connect method from the unit test stub --- lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php | 1 - 1 file changed, 1 deletion(-) 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;