default services conflit ?
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\Console\Test\Command;
|
||||
|
||||
use Symfony\Component\DependencyInjection\Container;
|
||||
use Drupal\Console\Test\BaseTestCase;
|
||||
|
||||
abstract class GenerateCommandTest extends BaseTestCase
|
||||
{
|
||||
/**
|
||||
* @return \Symfony\Component\DependencyInjection\ContainerInterface Drupal container
|
||||
*/
|
||||
protected function getContainer()
|
||||
{
|
||||
$container = new Container();
|
||||
$container->set('twig', new \Twig_Environment());
|
||||
return $container;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user