made test clearer

This commit is contained in:
Fabien Potencier 2016-03-31 11:55:22 +02:00
parent f76e99b9f4
commit 8acc6010ad

View File

@ -13,7 +13,7 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\CachedReader;
use Symfony\Component\Templating\EngineInterface;
use Symfony\Component\Templating\EngineInterface as ComponentEngineInterface;
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface as FrameworkBundleEngineInterface;
class AutowiringTypesTest extends WebTestCase
@ -43,7 +43,7 @@ class AutowiringTypesTest extends WebTestCase
$autowiredServices = $container->get('test.autowiring_types.autowired_services');
$this->assertInstanceOf(FrameworkBundleEngineInterface::class, $autowiredServices->getFrameworkBundleEngine());
$this->assertInstanceOf(EngineInterface::class, $autowiredServices->getEngine());
$this->assertInstanceOf(ComponentEngineInterface::class, $autowiredServices->getEngine());
}
protected static function createKernel(array $options = array())