mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Updating Controller test case
This commit is contained in:
parent
ac2538b108
commit
37231b4ce6
1 changed files with 3 additions and 3 deletions
|
@ -644,9 +644,9 @@ class ControllerTest extends CakeTestCase {
|
|||
$this->assertEqual($expected, $View->validationErrors['ControllerComment']);
|
||||
|
||||
$expectedModels = array(
|
||||
'ControllerAlias' => null,
|
||||
'ControllerComment' => null,
|
||||
'ControllerPost' => null
|
||||
'ControllerAlias' => array('plugin' => null, 'className' => 'ControllerAlias'),
|
||||
'ControllerComment' => array('plugin' => null, 'className' => 'ControllerComment'),
|
||||
'ControllerPost' => array('plugin' => null, 'className' => 'ControllerPost')
|
||||
);
|
||||
$this->assertEqual($expectedModels, $Controller->request->params['models']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue