commit
9746314ecb
|
@ -106,7 +106,6 @@ class TwigExtension extends Extension
|
|||
foreach ($bundle['paths'] as $path) {
|
||||
$twigFilesystemLoaderDefinition->addMethodCall('addPath', array($path, $namespace));
|
||||
}
|
||||
$container->addResource(new FileExistenceResource($dir));
|
||||
}
|
||||
|
||||
if (is_dir($dir = $container->getParameter('kernel.root_dir').'/Resources/views')) {
|
||||
|
|
|
@ -118,6 +118,9 @@ class FormRegistryTest extends \PHPUnit_Framework_TestCase
|
|||
$this->registry->getType('stdClass');
|
||||
}
|
||||
|
||||
/**
|
||||
* @group legacy
|
||||
*/
|
||||
public function testLegacyGetTypeFromExtension()
|
||||
{
|
||||
$type = new LegacyFooType();
|
||||
|
|
Reference in New Issue