Removing bad integration test that wasn't required anymore.

This commit is contained in:
Mark Story mark@mark-story.com 2011-09-01 00:23:59 +01:00
parent bb3a1d546b
commit 572412ec6b

View file

@ -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
*