Start writing unit tests
This commit is contained in:
32
tests/AppKernel.php
Normal file
32
tests/AppKernel.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pcm\IconBundle\Tests;
|
||||
|
||||
use Pcm\IconBundle\PcmIconBundle;
|
||||
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
||||
use Symfony\Component\Config\Loader\LoaderInterface;
|
||||
use Symfony\Component\HttpKernel\Kernel;
|
||||
|
||||
class AppKernel extends Kernel
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function registerBundles(): array
|
||||
{
|
||||
return [
|
||||
new FrameworkBundle(),
|
||||
new PcmIconBundle()
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param LoaderInterface $loader
|
||||
*/
|
||||
public function registerContainerConfiguration(LoaderInterface $loader): void
|
||||
{
|
||||
$loader->load(__DIR__.'/services_'.$this->getEnvironment().'.yml');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user