Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerStateTest.php
Romain Neutron d5e5c715d8 Make tests silent
2014-02-28 03:38:41 +01:00

23 lines
659 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerState;
class SchedulerStateTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()
{
$input = $this->getMock('Symfony\Component\Console\Input\InputInterface');
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
self::$DI['cli']['monolog'] = self::$DI['cli']->share(function () {
return $this->createMonologMock();
});
$command = new SchedulerState();
$command->setContainer(self::$DI['cli']);
$command->execute($input, $output);
}
}