Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8acc601

Browse files
committed
made test clearer
1 parent f76e99b commit 8acc601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AutowiringTypesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use Doctrine\Common\Annotations\AnnotationReader;
1515
use Doctrine\Common\Annotations\CachedReader;
16-
use Symfony\Component\Templating\EngineInterface;
16+
use Symfony\Component\Templating\EngineInterface as ComponentEngineInterface;
1717
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface as FrameworkBundleEngineInterface;
1818

1919
class AutowiringTypesTest extends WebTestCase
@@ -43,7 +43,7 @@ public function testTemplatingAutowiring()
4343

4444
$autowiredServices = $container->get('test.autowiring_types.autowired_services');
4545
$this->assertInstanceOf(FrameworkBundleEngineInterface::class, $autowiredServices->getFrameworkBundleEngine());
46-
$this->assertInstanceOf(EngineInterface::class, $autowiredServices->getEngine());
46+
$this->assertInstanceOf(ComponentEngineInterface::class, $autowiredServices->getEngine());
4747
}
4848

4949
protected static function createKernel(array $options = array())

0 commit comments

Comments
 (0)