diff --git a/lib/Cake/Console/Command/UpgradeShell.php b/lib/Cake/Console/Command/UpgradeShell.php index b4cc4fe09fe..71fd8ac5f04 100644 --- a/lib/Cake/Console/Command/UpgradeShell.php +++ b/lib/Cake/Console/Command/UpgradeShell.php @@ -102,7 +102,7 @@ public function all() { public function tests() { $this->_paths = array(APP . 'tests' . DS); if (!empty($this->params['plugin'])) { - $this->_paths = App::pluginPath($this->params['plugin']) . 'tests' . DS; + $this->_paths = array(App::pluginPath($this->params['plugin']) . 'tests' . DS); } $patterns = array( array(