Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Command/CheckConfigTest.php
2015-03-11 15:22:20 +01:00

20 lines
623 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Command;
use Alchemy\Phrasea\Command\CheckConfig;
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));
}
}