From 6b46c5cd17101dc232d3eb1b0a026ceedd81e4e8 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 5 Mar 2011 19:33:36 -0430 Subject: [PATCH] Fixing ControllerAuthorize test --- .../components/auth/controller_authorize.test.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/Cake/tests/cases/libs/controller/components/auth/controller_authorize.test.php b/lib/Cake/tests/cases/libs/controller/components/auth/controller_authorize.test.php index a3f687f0d..09ef5c6f8 100644 --- a/lib/Cake/tests/cases/libs/controller/components/auth/controller_authorize.test.php +++ b/lib/Cake/tests/cases/libs/controller/components/auth/controller_authorize.test.php @@ -13,9 +13,11 @@ * @since CakePHP(tm) v 2.0 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ -App::import('Component', 'auth/controller_authorize'); -App::import('Core', 'CakeRequest'); -App::import('Core', 'Controller'); + +App::uses('Controller', 'Controller'); +App::uses('ControllerAuthorize', 'Controller/Component/Auth'); +App::uses('CakeRequest', 'Network'); +App::uses('CakeResponse', 'Network'); class ControllerAuthorizeTest extends CakeTestCase {