Permalink
Browse files

load the TestPlugin to avoid missing plugin exception in testInitiali…

…ze()
  • Loading branch information...
1 parent 76b3f5a commit aac8f6880f5736622600c579f29c016c26e398e8 @ceeram ceeram committed May 24, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Test/Case/Console/Command/ShellTest.php
View
1 lib/Cake/Test/Case/Console/Command/ShellTest.php
@@ -172,6 +172,7 @@ public function testInitialize() {
'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();

0 comments on commit aac8f68

Please sign in to comment.