mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fix failing scaffold tests.
This commit is contained in:
parent
d8b2bcdf06
commit
93b80042f8
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue