Updating Controller test case

This commit is contained in:
Jose Lorenzo Rodriguez 2011-07-14 17:38:02 -04:30
parent ac2538b108
commit 37231b4ce6

View file

@ -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']);