ソースを参照

Fixed missing array wrap in UpgradeShell::tests()

jamiemill 14 年 前
コミット
6c9c36bc0e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/Cake/Console/Command/UpgradeShell.php

+ 1 - 1
lib/Cake/Console/Command/UpgradeShell.php

@@ -102,7 +102,7 @@ class UpgradeShell extends Shell {
 	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(