|
|
@@ -129,6 +129,7 @@ class ShellDispatcherTest extends CakeTestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function tearDown() {
|
|
|
+ parent::tearDown();
|
|
|
CakePlugin::unload();
|
|
|
}
|
|
|
|
|
|
@@ -400,6 +401,10 @@ class ShellDispatcherTest extends CakeTestCase {
|
|
|
$this->assertInstanceOf('SampleShell', $result);
|
|
|
|
|
|
$Dispatcher = new TestShellDispatcher();
|
|
|
+ $result = $Dispatcher->getShell('test_plugin.example');
|
|
|
+ $this->assertInstanceOf('ExampleShell', $result);
|
|
|
+
|
|
|
+ $Dispatcher = new TestShellDispatcher();
|
|
|
$result = $Dispatcher->getShell('TestPlugin.example');
|
|
|
$this->assertInstanceOf('ExampleShell', $result);
|
|
|
}
|