mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
19 lines
551 B
PHP
19 lines
551 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Command;
|
|
|
|
use Alchemy\Phrasea\Command\CheckConfig;
|
|
|
|
class CheckConfigTest extends \PhraseanetPHPUnitAbstract
|
|
{
|
|
public function testRunWithoutProblems()
|
|
{
|
|
$input = $this->getMock('Symfony\Component\Console\Input\InputInterface');
|
|
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
|
|
|
|
$command = new CheckConfig('check:config');
|
|
$command->setContainer(self::$DI['cli']);
|
|
$this->assertLessThan(2, $command->execute($input, $output));
|
|
}
|
|
}
|