Permalink
Browse files

Updating Controller test case

  • Loading branch information...
1 parent ac2538b commit 37231b4ce66bbde72ed6bc19894a9b6e52a60555 @lorenzo lorenzo committed Jul 14, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Test/Case/Controller/ControllerTest.php
@@ -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']);

0 comments on commit 37231b4

Please sign in to comment.