Fix unit tests

This commit is contained in:
Romain Neutron
2014-01-10 15:30:32 +01:00
parent 799e3620a3
commit 4b5f318ef1

View File

@@ -10,6 +10,9 @@ class TaskListTest extends \PhraseanetTestCase
{ {
$input = $this->getMock('Symfony\Component\Console\Input\InputInterface'); $input = $this->getMock('Symfony\Component\Console\Input\InputInterface');
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface'); $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 = new TaskList();
$command->setContainer(self::$DI['cli']); $command->setContainer(self::$DI['cli']);