From 615c552a3cd5660c8a4a0f5acedaec950813d1cf Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 31 Mar 2014 02:08:18 +0530 Subject: [PATCH] Fix test. --- .../Controller/Component/RequestHandlerComponentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php index 8d8b1d8f0be..56a44529845 100644 --- a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php +++ b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php @@ -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';