From 37231b4ce66bbde72ed6bc19894a9b6e52a60555 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Thu, 14 Jul 2011 17:38:02 -0430 Subject: [PATCH] Updating Controller test case --- lib/Cake/Test/Case/Controller/ControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Test/Case/Controller/ControllerTest.php b/lib/Cake/Test/Case/Controller/ControllerTest.php index 87bb13a5f..af63cf88c 100644 --- a/lib/Cake/Test/Case/Controller/ControllerTest.php +++ b/lib/Cake/Test/Case/Controller/ControllerTest.php @@ -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']);