added new report: project view (#1738)

This commit is contained in:
Willian Gustavo Veiga
2021-03-09 19:19:11 -03:00
committed by GitHub
parent 0b7d551048
commit c34e9f576d
28 changed files with 892 additions and 83 deletions

View File

@@ -12,7 +12,6 @@ namespace App\Tests\Command;
use App\Command\InstallCommand;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Console\Command\Command;
/**
* @covers \App\Command\InstallCommand
@@ -25,7 +24,7 @@ class InstallCommandTest extends KernelTestCase
*/
protected $application;
protected function getCommand(): Command
protected function setUp(): void
{
$kernel = self::bootKernel();
$this->application = new Application($kernel);
@@ -35,7 +34,11 @@ class InstallCommandTest extends KernelTestCase
$container->getParameter('kernel.project_dir'),
$container->get('doctrine')->getConnection()
));
}
return $this->application->find('kimai:install');
public function testCommandName()
{
$command = $this->application->find('kimai:install');
self::assertInstanceOf(InstallCommand::class, $command);
}
}