mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-01 19:27:18 +00:00
09cf69c452
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'
|
|
)
|
|
);
|
|
|
|
}
|