Skip to content
Permalink
Browse files

Remove redundant setLoggers() call.

This call is no longer necessary as the logging levels are set in
ShellDispatcher.

Refs #10001
  • Loading branch information...
markstory committed Jan 10, 2017
1 parent 475b191 commit 621ac4fd477286387ee934deb65fdf31885631c0
Showing with 1 addition and 2 deletions.
  1. +0 −1 src/Console/Shell.php
  2. +1 −1 tests/TestCase/Console/ShellTest.php
@@ -184,7 +184,6 @@ public function __construct(ConsoleIo $io = null)
['tasks'],
['associative' => ['tasks']]
);
$this->_io->setLoggers(true);
if (isset($this->modelClass)) {
$this->loadModel();
@@ -1318,7 +1318,7 @@ public function testQuietLog()
$io->expects($this->at(0))
->method('setLoggers')
->with(true);
$io->expects($this->at(3))
$io->expects($this->at(2))
->method('setLoggers')
->with(ConsoleIo::QUIET);

0 comments on commit 621ac4f

Please sign in to comment.
You can’t perform that action at this time.