mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
19 lines
571 B
PHP
19 lines
571 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Command\Setup;
|
|
|
|
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
|
|
|
|
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));
|
|
}
|
|
}
|