Corrects style error from PHPCS by prefixing method name with an underscore

This commit is contained in:
Gareth Ellis 2019-07-29 15:27:45 +01:00
parent f198ffdb9c
commit dba84d65d7

View file

@ -265,7 +265,7 @@ abstract class ControllerTestCase extends CakeTestCase {
->will($this->returnValue($options['data'])); ->will($this->returnValue($options['data']));
} }
$Dispatch = $this->createDispatcher(); $Dispatch = $this->_createDispatcher();
foreach (Router::$routes as $route) { foreach (Router::$routes as $route) {
if ($route instanceof RedirectRoute) { if ($route instanceof RedirectRoute) {
$route->response = $this->getMock('CakeResponse', array('send')); $route->response = $this->getMock('CakeResponse', array('send'));
@ -320,7 +320,7 @@ abstract class ControllerTestCase extends CakeTestCase {
* *
* @return Dispatcher * @return Dispatcher
*/ */
protected function createDispatcher() { protected function _createDispatcher() {
return new ControllerTestDispatcher(); return new ControllerTestDispatcher();
} }