mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing CrudAuthorize test
This commit is contained in:
parent
6d96c38cd3
commit
ec8577a562
2 changed files with 7 additions and 5 deletions
|
@ -14,6 +14,7 @@
|
|||
*/
|
||||
|
||||
App::uses('BaseAuthorize', 'Controller/Component/Auth');
|
||||
App::uses('Router', 'Routing');
|
||||
|
||||
/**
|
||||
* An authorization adapter for AuthComponent. Provides the ability to authorize using CRUD mappings.
|
||||
|
|
|
@ -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/crud_authorize');
|
||||
App::import('Controller', 'ComponentCollection');
|
||||
App::import('Component', 'Acl');
|
||||
App::import('Core', 'CakeRequest');
|
||||
App::import('Core', 'Controller');
|
||||
|
||||
App::uses('CrudAuthorize', 'Controller/Component/Auth');
|
||||
App::uses('ComponentCollection', 'Controller');
|
||||
App::uses('AclComponent', 'Controller/Component');
|
||||
App::uses('CakeRequest', 'Network');
|
||||
App::uses('CakeResponse', 'Network');
|
||||
|
||||
class CrudAuthorizeTest extends CakeTestCase {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue