mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Corrects style error from PHPCS by prefixing method name with an underscore
This commit is contained in:
parent
f198ffdb9c
commit
dba84d65d7
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue