Fixed failing test due to missing CakeRequest class

This commit is contained in:
Jeremy Harris 2010-11-27 12:47:19 -08:00
parent 8492f2055b
commit 1411e9495e

View file

@ -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();