From aac8f6880f5736622600c579f29c016c26e398e8 Mon Sep 17 00:00:00 2001 From: Ceeram Date: Tue, 24 May 2011 17:10:00 +0200 Subject: [PATCH] load the TestPlugin to avoid missing plugin exception in testInitialize() --- lib/Cake/Test/Case/Console/Command/ShellTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Test/Case/Console/Command/ShellTest.php b/lib/Cake/Test/Case/Console/Command/ShellTest.php index 81438269f..47e09314c 100644 --- a/lib/Cake/Test/Case/Console/Command/ShellTest.php +++ b/lib/Cake/Test/Case/Console/Command/ShellTest.php @@ -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();