mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
24 lines
669 B
PHP
24 lines
669 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Command;
|
|
|
|
use Alchemy\Phrasea\Command\CheckConfig;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
*/
|
|
class CheckConfigTest extends \PhraseanetTestCase
|
|
{
|
|
public function testRunWithoutProblems()
|
|
{
|
|
$input = $this->getMock('Symfony\Component\Console\Input\InputInterface');
|
|
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
|
|
|
|
//self::$DI['cli']['phraseanet.SE'] = $this->createSearchEngineMock();
|
|
$command = new CheckConfig('check:config');
|
|
$command->setContainer(self::$DI['cli']);
|
|
$this->assertLessThan(2, $command->execute($input, $output));
|
|
}
|
|
}
|