From 6c9c36bc0ef26f431d9ec8e58f0a712b2d1ea8c0 Mon Sep 17 00:00:00 2001 From: jamiemill Date: Sat, 5 Nov 2011 22:18:49 +0000 Subject: [PATCH] Fixed missing array wrap in UpgradeShell::tests() --- lib/Cake/Console/Command/UpgradeShell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(