From b297bf633d671f2f89bf06a7aef5e2699be13bea Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 9 Nov 2010 23:55:42 -0500 Subject: [PATCH] Updating test to be correct. --- .../cases/libs/controller/components/request_handler.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/controller/components/request_handler.test.php b/cake/tests/cases/libs/controller/components/request_handler.test.php index d58ca6688..a9fe81d81 100644 --- a/cake/tests/cases/libs/controller/components/request_handler.test.php +++ b/cake/tests/cases/libs/controller/components/request_handler.test.php @@ -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');