test: Add App::uses() missing in the test code.

This commit is contained in:
Koji Tanaka 2022-12-31 10:56:11 +09:00 committed by Kamil Wylegala
parent e99ea6021c
commit 927b57fa14
3 changed files with 3 additions and 0 deletions

View file

@ -22,6 +22,7 @@ App::uses('AclComponent', 'Controller/Component');
App::uses('BaseAuthenticate', 'Controller/Component/Auth'); App::uses('BaseAuthenticate', 'Controller/Component/Auth');
App::uses('FormAuthenticate', 'Controller/Component/Auth'); App::uses('FormAuthenticate', 'Controller/Component/Auth');
App::uses('CakeEvent', 'Event'); App::uses('CakeEvent', 'Event');
App::uses('CakeRequest', 'Network');
/** /**
* TestFormAuthenticate class * TestFormAuthenticate class

View file

@ -18,6 +18,7 @@
App::uses('SecurityComponent', 'Controller/Component'); App::uses('SecurityComponent', 'Controller/Component');
App::uses('Controller', 'Controller'); App::uses('Controller', 'Controller');
App::uses('CakeRequest', 'Network');
/** /**
* TestSecurityComponent * TestSecurityComponent

View file

@ -17,6 +17,7 @@
*/ */
App::uses('PagesController', 'Controller'); App::uses('PagesController', 'Controller');
App::uses('CakeRequest', 'Network');
/** /**
* PagesControllerTest class * PagesControllerTest class