mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixed failing test due to missing CakeRequest class
This commit is contained in:
parent
8492f2055b
commit
1411e9495e
1 changed files with 3 additions and 1 deletions
|
@ -757,7 +757,9 @@ class ControllerTest extends CakeTestCase {
|
|||
* @access public
|
||||
*/
|
||||
function testPaginateFieldsDouble(){
|
||||
$Controller =& new Controller();
|
||||
$request = new CakeRequest('controller_posts/index');
|
||||
|
||||
$Controller =& new Controller($request);
|
||||
$Controller->uses = array('ControllerPost');
|
||||
$Controller->request->params['url'] = array();
|
||||
$Controller->constructClasses();
|
||||
|
|
Loading…
Reference in a new issue