Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Command/Setup/CheckEnvironmentTest.php
2015-06-15 19:30:51 +02:00

23 lines
617 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Command\Setup;
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
/**
* @group functional
* @group legacy
*/
class CheckEnvironmentTest extends \PhraseanetTestCase
{
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));
}
}