From 13e9a9ef7cb72cc7b74f6caf53e4259d691dc7d3 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 5 Mar 2011 19:41:33 -0430 Subject: [PATCH] Fixing ActionsAuthorize test --- .../components/auth/actions_authorize.test.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/Cake/tests/cases/libs/controller/components/auth/actions_authorize.test.php b/lib/Cake/tests/cases/libs/controller/components/auth/actions_authorize.test.php index 242606416..d4d967214 100644 --- a/lib/Cake/tests/cases/libs/controller/components/auth/actions_authorize.test.php +++ b/lib/Cake/tests/cases/libs/controller/components/auth/actions_authorize.test.php @@ -13,11 +13,12 @@ * @since CakePHP(tm) v 2.0 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ -App::import('Component', 'auth/actions_authorize'); -App::import('Controller', 'ComponentCollection'); -App::import('Component', 'Acl'); -App::import('Core', 'CakeRequest'); -App::import('Core', 'Controller'); + +App::uses('ActionsAuthorize', 'Controller/Component/Auth'); +App::uses('ComponentCollection', 'Controller'); +App::uses('AclComponent', 'Controller/Component'); +App::uses('CakeRequest', 'Network'); +App::uses('CakeResponse', 'Network'); class ActionsAuthorizeTest extends CakeTestCase {