diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AutowiringTypesTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AutowiringTypesTest.php index b2876e8b2a..52b8c8cdcf 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AutowiringTypesTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AutowiringTypesTest.php @@ -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())