initial commit
This commit is contained in:
17
vendor/symfony/maker-bundle/templates/controller/test/Test.tpl.php
vendored
Normal file
17
vendor/symfony/maker-bundle/templates/controller/test/Test.tpl.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?= "<?php\n" ?>
|
||||
|
||||
namespace <?= $class_data->getNamespace(); ?>;
|
||||
|
||||
<?= $class_data->getUseStatements(); ?>
|
||||
|
||||
<?= $class_data->getClassDeclaration(); ?>
|
||||
|
||||
{
|
||||
public function testIndex(): void
|
||||
{
|
||||
$client = static::createClient();
|
||||
$client->request('GET', '<?= $route_path; ?>');
|
||||
|
||||
self::assertResponseIsSuccessful();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user