Initial commit

This commit is contained in:
Antoine Hérault
2011-05-08 23:04:37 +02:00
commit ae7440f4d7
22 changed files with 1019 additions and 0 deletions

26
Tests/TestKernel.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace Knplabs\Bundle\GaufretteBundle\Tests;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
class TestKernel extends Kernel
{
public function getRootDir()
{
return __DIR__.'/Resources';
}
public function registerBundles()
{
return array(
new \Knplabs\Bundle\GaufretteBundle\KnplabsGaufretteBundle(),
);
}
public function registerContainerConfiguration(LoaderInterface $loader)
{
$loader->load(__DIR__.'/Resources/config/config_'.$this->getEnvironment().'.yml');
}
}