Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Command/Setup/CheckEnvironmentTest.php
2013-10-29 18:46:34 +01:00

19 lines
572 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Command;
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
class CheckEnvironmentTest extends \PhraseanetPHPUnitAbstract
{
public function testRunWithoutProblems()
{
$input = $this->getMock('Symfony\Component\Console\Input\InputInterface');
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
$command = new CheckEnvironment('system:check');
$command->setContainer(self::$DI['cli']);
$this->assertLessThan(2, $command->execute($input, $output));
}
}