mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Updating test to be correct.
This commit is contained in:
parent
76c3e1a112
commit
b297bf633d
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
$this->assertEquals($this->Controller->layout, $this->RequestHandler->ajaxLayout);
|
||||
|
||||
$this->_init();
|
||||
$this->Controller->request->query['ext'] = 'js';
|
||||
$this->Controller->request->params['url']['ext'] = 'js';
|
||||
$this->RequestHandler->initialize($this->Controller);
|
||||
$this->RequestHandler->startup($this->Controller);
|
||||
$this->assertNotEqual($this->Controller->layout, 'ajax');
|
||||
|
|
Loading…
Reference in a new issue