Skip to content
Permalink
Browse files

Fix up tests.

  • Loading branch information...
dereuromark committed May 13, 2016
1 parent 4491622 commit b7114a00fbc49cd19f22a65a4fe0e5d1c5b9db43
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Console/Shell.php
  2. +1 −1 tests/TestCase/Console/ShellTest.php
@@ -671,7 +671,7 @@ public function info($message = null, $newlines = 1, $level = Shell::NORMAL)
*/
public function warn($message = null, $newlines = 1)
{
return $this->err('<warning>' . $message . '</warning>', $newlines);
return $this->_io->err('<warning>' . $message . '</warning>', $newlines);
}
/**
@@ -334,7 +334,7 @@ public function testInfo()
public function testWarn()
{
$this->io->expects($this->once())
->method('warn')
->method('err')
->with('<warning>Just a test</warning>', 1);
$this->Shell->warn('Just a test');

0 comments on commit b7114a0

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