diff --git a/tests/TestCase/Log/Engine/ConsoleLogTest.php b/tests/TestCase/Log/Engine/ConsoleLogTest.php index 17e8d324645..3f2ba14e3d9 100644 --- a/tests/TestCase/Log/Engine/ConsoleLogTest.php +++ b/tests/TestCase/Log/Engine/ConsoleLogTest.php @@ -76,7 +76,7 @@ public function testDefaultOutputAs() $output = $this->getMockBuilder('Cake\Console\ConsoleOutput')->getMock(); $output->expects($this->at(0)) - ->method('outputAs') + ->method('setOutputAs') ->with($expected); $log = new ConsoleLog([