Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Mar 30, 2014
1 parent e3fa02b commit 615c552
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -335,7 +335,7 @@ public function testAutoAjaxLayout() {
$event = new Event('Controller.startup', $this->Controller);
$_SERVER['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest';
$this->RequestHandler->startup($event);
$this->assertEquals($this->Controller->layout, $this->RequestHandler->ajaxLayout);
$this->assertEquals($this->Controller->layout, $this->RequestHandler->config('ajaxLayout'));

$this->_init();
$this->Controller->request->params['_ext'] = 'js';
Expand Down

0 comments on commit 615c552

Please sign in to comment.