mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +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('BaseAuthorize', 'Controller/Component/Auth');
|
||||||
|
App::uses('Router', 'Routing');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An authorization adapter for AuthComponent. Provides the ability to authorize using CRUD mappings.
|
* An authorization adapter for AuthComponent. Provides the ability to authorize using CRUD mappings.
|
||||||
|
|
|
@ -13,11 +13,12 @@
|
||||||
* @since CakePHP(tm) v 2.0
|
* @since CakePHP(tm) v 2.0
|
||||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
*/
|
*/
|
||||||
App::import('Component', 'auth/crud_authorize');
|
|
||||||
App::import('Controller', 'ComponentCollection');
|
App::uses('CrudAuthorize', 'Controller/Component/Auth');
|
||||||
App::import('Component', 'Acl');
|
App::uses('ComponentCollection', 'Controller');
|
||||||
App::import('Core', 'CakeRequest');
|
App::uses('AclComponent', 'Controller/Component');
|
||||||
App::import('Core', 'Controller');
|
App::uses('CakeRequest', 'Network');
|
||||||
|
App::uses('CakeResponse', 'Network');
|
||||||
|
|
||||||
class CrudAuthorizeTest extends CakeTestCase {
|
class CrudAuthorizeTest extends CakeTestCase {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue