Skip to content

Commit

Permalink
Updating Controller test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 14, 2011
1 parent ac2538b commit 37231b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Controller/ControllerTest.php
Expand Up @@ -644,9 +644,9 @@ public function testRender() {
$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']);

Expand Down

0 comments on commit 37231b4

Please sign in to comment.