Remove duplicate connect method from the unit test stub

This commit is contained in:
Val Bancer 2018-08-26 01:24:18 +02:00
parent 290bccedb4
commit c5d78b6302

View file

@ -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;