|
@@ -35,6 +35,7 @@ class TestCase extends \PHPUnit_Framework_TestCase
|
|
|
'kernel.debug' => false,
|
|
|
'kernel.bundles' => array('YamlBundle' => 'Fixtures\Bundles\YamlBundle\YamlBundle'),
|
|
|
'kernel.cache_dir' => sys_get_temp_dir(),
|
|
|
+ 'kernel.environment' => 'test',
|
|
|
'kernel.root_dir' => __DIR__.'/../../../../' // src dir
|
|
|
)));
|
|
|
$container->set('annotation_reader', new AnnotationReader());
|