initial commit
This commit is contained in:
17
vendor/symfony/maker-bundle/templates/test/KernelTestCase.tpl.php
vendored
Normal file
17
vendor/symfony/maker-bundle/templates/test/KernelTestCase.tpl.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?= "<?php\n" ?>
|
||||
|
||||
namespace <?= $namespace; ?>;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
class <?= $class_name ?> extends KernelTestCase
|
||||
{
|
||||
public function testSomething(): void
|
||||
{
|
||||
$kernel = self::bootKernel();
|
||||
|
||||
$this->assertSame('test', $kernel->getEnvironment());
|
||||
// $routerService = static::getContainer()->get('router');
|
||||
// $myCustomService = static::getContainer()->get(CustomService::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user