Browse Source

Update test to use new method

Michael Hoffmann 9 years ago
parent
commit
ef0d4cef1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Log/Engine/ConsoleLogTest.php

+ 1 - 1
tests/TestCase/Log/Engine/ConsoleLogTest.php

@@ -76,7 +76,7 @@ class ConsoleLogTest extends TestCase
         $output = $this->getMockBuilder('Cake\Console\ConsoleOutput')->getMock();
 
         $output->expects($this->at(0))
-            ->method('outputAs')
+            ->method('setOutputAs')
             ->with($expected);
 
         $log = new ConsoleLog([