diff --git a/tests/Alchemy/Tests/Phrasea/Command/Task/TaskListTest.php b/tests/Alchemy/Tests/Phrasea/Command/Task/TaskListTest.php index fe5a7cb757..eb94a77b37 100644 --- a/tests/Alchemy/Tests/Phrasea/Command/Task/TaskListTest.php +++ b/tests/Alchemy/Tests/Phrasea/Command/Task/TaskListTest.php @@ -10,6 +10,9 @@ class TaskListTest extends \PhraseanetTestCase { $input = $this->getMock('Symfony\Component\Console\Input\InputInterface'); $output = $this->getMock('Symfony\Component\Console\Output\OutputInterface'); + $output->expects($this->any()) + ->method('getFormatter') + ->will($this->returnValue($this->getMock('Symfony\Component\Console\Formatter\OutputFormatterInterface'))); $command = new TaskList(); $command->setContainer(self::$DI['cli']);