mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-01 23:29:45 +00:00

Otherwise there can be significant differences in behavior between using an unmodifiedcomponent in testAction and using a mock as the config will not be propogated from the controller
13 lines
206 B
PHP
13 lines
206 B
PHP
<?php
|
|
|
|
App::uses('CakeErrorController', 'Controller');
|
|
|
|
class TestConfigsController extends CakeErrorController {
|
|
|
|
public $components = array(
|
|
'RequestHandler' => array(
|
|
'some' => 'config'
|
|
)
|
|
);
|
|
|
|
}
|