diff --git a/lib/Cake/Test/Case/Controller/ControllerTest.php b/lib/Cake/Test/Case/Controller/ControllerTest.php index e16864c7b..2bd74090a 100644 --- a/lib/Cake/Test/Case/Controller/ControllerTest.php +++ b/lib/Cake/Test/Case/Controller/ControllerTest.php @@ -1077,30 +1077,6 @@ class ControllerTest extends CakeTestCase { $this->assertIdentical($expected, $result); } -/** - * testRequestHandlerPrefers method - * - * @return void - */ - public function testRequestHandlerPrefers(){ - Configure::write('debug', 2); - - $request = new CakeRequest('controller_posts/index'); - - $Controller = new Controller($request, $this->getMock('CakeResponse')); - - $Controller->components = array("RequestHandler"); - $Controller->modelClass='ControllerPost'; - $Controller->params['url'] = array('ext' => 'rss'); - $Controller->constructClasses(); - $Controller->Components->trigger('initialize', array(&$Controller)); - $Controller->beforeFilter(); - $Controller->Components->trigger('startup', array(&$Controller)); - - $this->assertEqual($Controller->RequestHandler->prefers(), 'rss'); - unset($Controller); - } - /** * testControllerHttpCodes method *