diff --git a/lib/Cake/TestSuite/ControllerTestCase.php b/lib/Cake/TestSuite/ControllerTestCase.php index 98611bf9b..b13ce7df3 100644 --- a/lib/Cake/TestSuite/ControllerTestCase.php +++ b/lib/Cake/TestSuite/ControllerTestCase.php @@ -265,7 +265,7 @@ abstract class ControllerTestCase extends CakeTestCase { ->will($this->returnValue($options['data'])); } - $Dispatch = $this->createDispatcher(); + $Dispatch = $this->_createDispatcher(); foreach (Router::$routes as $route) { if ($route instanceof RedirectRoute) { $route->response = $this->getMock('CakeResponse', array('send')); @@ -320,7 +320,7 @@ abstract class ControllerTestCase extends CakeTestCase { * * @return Dispatcher */ - protected function createDispatcher() { + protected function _createDispatcher() { return new ControllerTestDispatcher(); }