Removing class_exists() check as the class is now lazy loaded.

This commit is contained in:
mark_story 2010-08-26 23:26:18 -04:00
parent 6c87a026b6
commit 1a52442057

View file

@ -1729,7 +1729,6 @@ class DispatcherTest extends CakeTestCase {
$result = $Dispatcher->dispatch($url, array('return' => 1));
$this->assertTrue(class_exists('TestsController'));
$this->assertTrue(class_exists('TestPluginAppController'));
$this->assertTrue(class_exists('OtherComponentComponent'));
$this->assertTrue(class_exists('PluginsComponentComponent'));
$this->assertEqual($result->params['controller'], 'tests');