Skip to content

Commit

Permalink
Fix merge: value in first argument and disable caching
Browse files Browse the repository at this point in the history
Ref: 542d594
  • Loading branch information
rchavik committed Jul 8, 2013
1 parent c92ecda commit 740513c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/ExtractTask.php
Expand Up @@ -447,7 +447,7 @@ protected function _extractValidationMessages() {

$plugins = array(null);
if (empty($this->params['exclude-plugins'])) {
$plugins = array_merge($plugins, App::objects('plugins'));
$plugins = array_merge($plugins, App::objects('Plugin', null, false));
}
foreach ($plugins as $plugin) {
$this->_extractPluginValidationMessages($plugin);
Expand Down
Expand Up @@ -350,7 +350,7 @@ public function testExtractModelValidationInPlugin() {
$this->out = $this->getMock('Cake\Console\ConsoleOutput', array(), array(), '', false);
$this->in = $this->getMock('Cake\Console\ConsoleInput', array(), array(), '', false);
$this->Task = $this->getMock('Cake\Console\Command\Task\ExtractTask',
array('_isExtractingApp', '_extractValidationMessages', 'in', 'out', 'err', 'clear', '_stop'),
array('_isExtractingApp', 'in', 'out', 'err', 'clear', '_stop'),
array($this->out, $this->out, $this->in)
);

Expand Down

0 comments on commit 740513c

Please sign in to comment.