mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix unit tests
This commit is contained in:
@@ -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']);
|
||||||
|
Reference in New Issue
Block a user