for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\DoctrinePHPCRAdminBundle\Tests\Fixtures\App;
use Symfony\Cmf\Component\Testing\HttpKernel\TestKernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class Kernel extends TestKernel
{
public function configure()
$this->registerConfiguredBundles();
$this->requireBundleSet('default');
$this->requireBundleSets([
'phpcr_odm',
]);
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__ . '/config/config.php');
$loader->load(__DIR__ . '/config/admin-test.xml');