load the TestPlugin to avoid missing plugin exception in testInitialize()

This commit is contained in:
Ceeram 2011-05-24 17:10:00 +02:00
parent 76b3f5a21c
commit aac8f6880f

View file

@ -172,6 +172,7 @@ class ShellTest extends CakeTestCase {
'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
'models' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Model' . DS)
), true);
CakePlugin::load('TestPlugin');
$this->Shell->uses = array('TestPlugin.TestPluginPost');
$this->Shell->initialize();