Fix failing scaffold tests.

This commit is contained in:
predominant 2010-08-28 15:01:43 +10:00
parent d8b2bcdf06
commit 93b80042f8

View file

@ -789,7 +789,7 @@ class ScaffoldTest extends CakeTestCase {
$this->Controller->theme = 'test_theme';
$this->Controller->view = 'Theme';
$this->Controller->constructClasses();
$Scaffold =& new TestScaffoldMock($this->Controller, array());
$Scaffold =& new TestScaffoldMock($this->Controller, new CakeRequest());
$this->assertEqual($this->Controller->view, 'Scaffold');
}