Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Command/Setup/CheckEnvironmentTest.php
Romain Neutron a6ec106092 Add unit tests
2013-05-13 15:07:48 +02:00

17 lines
519 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Command;
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
class CheckEnvironmentTest extends \PhraseanetPHPUnitAbstract
{
public function testRunWithoutProblems()
{
$input = $this->getMock('Symfony\Component\Console\Input\InputInterface');
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
$command = new CheckEnvironment('system:check');
$this->assertEquals(0, $command->execute($input, $output));
}
}